Lasso Soft Inc. > Home

[Bytes->BeginsWith]

Returns true if the instance begins with the parameter sequence.

  • Syntax
  • Parameters
[Bytes Variable->(BeginsWith: Value)]
Required Parameters
Value A value of any type for the bytes object to be checked against.
Examples

To check the beginning of a bytes instance for a string:

Use the [Bytes->BeginsWith] tag. The following example checks a bytes object for the word 'The' at the beginning.

[Var:'Bytes'=(Bytes: 'The String')]
[$Bytes->(BeginsWith: 'The')]
Result:
True
Tag Link [Bytes->BeginsWith] Category Bytes
Type Member Data Source Any
Support Preferred Version 7.0
Output Type Boolean 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