Lasso Soft Inc. > Home

[ bytes->asString ]

Method

[bytes->asString] outputs a bytes object as a string using UTF-8 encoding.

  • Syntax
Bytes Object->asString
Examples
  • Beginner

To return the contents of a bytes object as a string:

Use the [bytes->asString] method.

Code

local(b = bytes('Rhinos + ponies = unicorns!'))
#b->asString

Result

Rhinos + ponies = unicorns!

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