Split a string by EOL (end of line) characters.
The string to split
The EOL regex to use for splitting the string. Default is RegExp('\r\n|\r|\n')
RegExp('\r\n|\r|\n')
An array of strings, each representing a line in the original string
Split a string by EOL (end of line) characters.