Lines.ToBinary

This function converts a list of text into a binary value using a selected encoding method and line separator. The chosen line separator is added to the end of each line in the text. If no line separa...

Syntax

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

About

This function converts a list of text into a binary value using a selected encoding method and line separator. The chosen line separator is added to the end of each line in the text. If no line separator is specified, the default is to use the carriage return and line feed characters.