Lasso Soft Inc. > Home

[ bytes->trim ]


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

  • Syntax
Bytes Variable->Trim
  • Beginner

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

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


local(Bytes = Bytes('        This is some data        '))

Recent Comments

No Comments found

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