Split the string by newlines and return as an array.
Example:
string[] result = Strings.lines ("a\nb\nc"); assert (result.length == 3);
the string.
array of lines.