Method SplitToLines
SplitToLines(string)
Splits given string into the array of strings using a new line char as a separator.
public static string[] SplitToLines(this string s)
Parameters
s
stringThe string to split.
Returns
- string[]
An array of the substrings from the given string instance.