Lasso Soft Inc. > Home

[File_ProbeEOL]

[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.

  • Syntax
  • Parameters
[File_ProbeEOL: 'File Data']
Required Parameters
File Data A string or bytes value containing data from a file.
Examples

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

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

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft