Skip to main content

Lines.FromText

Converts a text value to a list of text values split at lines breaks. If includeLineSeparators is true, then the line break characters are included in the text.

Syntax

Lines.FromText(
text as text,
optional quoteStyle as QuoteStyle.Type,
optional includeLineSeparators as logical
) as list

Remarks

Converts a text value to a list of text values split at lines breaks. If includeLineSeparators is true, then the line break characters are included in the text.

  • QuoteStyle.None: (default) No quoting behavior is needed.
  • QuoteStyle.Csv: Quoting is as per Csv. A double quote character is used to demarcate such regions, and a pair of double quote characters is used to indicate a single double quote character within such a region.

Category

Lines