Method SplitNewLine
SplitNewLine(ustring)
Splits all newlines in the text
into a list
and supports both CRLF and LF, preserving the ending newline.
public static List<ustring> SplitNewLine(ustring text)
Parameters
text
ustringThe text.
Returns
- List<ustring>
A list of text without the newline characters.