Method SplitNewLine
SplitNewLine(string)
Splits all newlines in the text into a list and supports both CRLF and LF, preserving the
ending newline.
public static List<string> SplitNewLine(string text)
Parameters
textstringThe text.
Splits all newlines in the text into a list and supports both CRLF and LF, preserving the
ending newline.
public static List<string> SplitNewLine(string text)
text stringThe text.