Lasso Soft Inc. > Home

[Bytes->Trim]

Removes all whitespace ASCII characters from the beginning and the end of the instance.

  • Syntax
  • Parameters
[Bytes Variable->Trim]
Examples

To trim whitespace from the beginning and end of bytes data:

Use the [Bytes->Trim] tag. The following example removes the extra whitespace from the beginning and end of the string data contained in the bytes stream.

[Var:'Bytes'=(Bytes: '        This is some data        ')]
[$Bytes->Trim]
Tag Link [Bytes->Trim] Category Bytes
Type Member Data Source Any
Support Preferred Version 7.0
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.0, Lasso 7.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