Share via


Lines.ToBinary

Syntax

Lines.ToBinary(
    lines as list,
    optional lineSeparator as nullable text,
    optional encoding as nullable number,
    optional includeByteOrderMark as nullable logical
) as binary

About

Converts a list of text into a binary value using the specified encoding and lineSeparator.The specified lineSeparator is appended to each line. If not specified then the carriage return and line feed characters are used.