Lasso Soft Inc. > Home

[ Bytes->Append ]

Method

Appends the specified data to the end of the bytes instance. Requires one parameter, which is the data to append.

  • Syntax
Bytes Variable->Append(Bytes Value)
Bytes Variable->Append(String Value)
Examples
  • Beginner

To append string data to end of a bytes instance:

Use the [Bytes->Append] method. The following example adds the string 'This is the end' at the end of the bytes data. The bytes instance is modified, but no data is returned in the example.

Code

local(bytesvar = bytes('This is the beginning, '))
#bytesvar->append('This is the end')
#bytesvar

Result

This is the beginning, This is the end

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