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
textustringThe text.
Returns
- List<ustring>
A list of text without the newline characters.