Breaks a string at the '\n' and '\n\r' line separators.