Table of Contents

Method SplitNewLine

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

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

text string

The text.

Returns

List<string>

A list of text without the newline characters.