Lasso Soft Inc. > Home

[Bytes->GetRange]

[Bytes->GetRange] returns a sequence of bytes from a byte stream as a string. The byte stream is not modified by this tag so it can be used to peek ahead.

The first parameter specifies the position at which to start. The second parameter specifies the number of bytes to return.

  • Syntax
  • Parameters
<?LassoScript
Variable: 'myString' = $ByteStream->(GetRange: 10, 10);
?>
Required Parameters
Position The starting byte to return.
Length The number of bytes to return.
Examples

See the Lasso 8 Language Guide for examples of how to use this tag. This tag is documented on page 92.

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