Parent Previous Next


This function returns the end of line (EOL) text marker, also known as CRLF (carriage return line feed ~ #13 #10).


 @EOL() : String



 String textLines[].New();

 String split := @EOL();

 String file := "c:\test\file_in_utf8.txt";


 Integer cpUTF8 := 65001; //the utf8 codepage;

 @FileReadTextLines(file, cpUTF8, textLines[], split);

 //Now the file was read - converting from utf8 - and

 //the imported text was divided into lines using CRLF

 //as the split factor.