Lasso Soft Inc. > Home

[ bytes->trim ]

Method

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

  • Syntax
Bytes Variable->Trim
Examples
  • 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.

Code

local(Bytes = Bytes('        This is some data        '))
#Bytes->Trim

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