re: Let's talk about how powerful split function is VIEW POST


Would suggest that splitLines would use \r?\n as a lot of files on windows will still have crlf line endings.


Yes Michael, I totally agree. That's why, originally in gihub repo, I created a getNewLineChar function, to detect new line character for different systems.

Code of Conduct Report abuse