LassoScript Utility
Basics Browse Detail


Tag Link [File_ProbeEOL] Category File
Type Substitution Source Available No
Support Preferred Version 8.0
Change Unchanged Data Source Any
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0


[File_ProbeEOL] is a utility tag used by the file tags to determine the end-of-line character used in a file. This tag takes a string as a parameter and returns \r\n, \r, or \n depending on the end-of-line character used in the file.

If no end-of-line character is found then an error is thrown.


[File_ProbeEOL: 'File Data']


Required Parameters
File Data A string or bytes value containing data from a file.


See the Lasso 8 Language Guide for examples of how to use this tag.