Returns the position of the beginning of the parameter sequence within the bytes instance, or 0 if the sequence is not contained within the instance. Four optional integer parameters (offset, length, parameter offset, parameter length) indicate position and length limits that can be applied to the instance and the parameter sequence.
[Bytes Variable->(Find: Value)]
[Bytes Variable->(Find: Value, Integer, Integer, Integer, Integer)]
Use the [Bytes->Find] tag. The following example finds the starting position of the word 'The' in the bytes instance.
[Var:'Bytes'=(Bytes: 'The Object')]
[$Bytes->(Find: 'The')]
1
Tag Link | [Bytes->Find] | Category | Bytes |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 7.0 |
Output Type | Bytes | Security | Integer |
Implementation | Sets | 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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft