Lasso Soft Inc. > Home

[Bytes->ImportAs]

[Bytes->ImportString] imports a string into the byte stream converting each character using the desired character encoding. The tag requires two parameters, the data to be imported and the character set which should be used to encode that data.

  • Syntax
  • Parameters
<?LassoScript
Variable: 'ByteStream' = (Bytes: 1024, 256);
$ByteStream->(ImportString: 'String', 'Encoding');
...
?>
Required Parameters
Data The data to be imported into the byte stream.
Optional Parameters
Encoding The desired character set of the data.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag.

Tag Link [Bytes->ImportAs] Category Bytes
Type Member Data Source Any
Support Preferred Version 8.0
Output Type None Security None
Implementation LCAPI Sets Lasso 8.5, Lasso 8.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