Splits str into an array of lines.
lines.split("hello\\nhello\nhello"); // ["hello\\nhello", "hello"] Copy
lines.split("hello\\nhello\nhello"); // ["hello\\nhello", "hello"]
Splits str into an array of lines.