[String->Find] returns the position at which the first parameter is found within the string or 0 if the first parameter is not found within the string. Requires a single string parameter. The pattern is not case sensitive.
Optional parameters allow a portion of the string to be searched by specifying the offset at which to start searching and the number of characters from the offset to search.
Optional parameters allow a portion of the pattern to be used as the search pattern by specifying the offset into the pattern and the number of characters from the pattern to search for.
[String Variable->(Find: 'String Value')]
[String Variable->(Find: 'String Value', Offset, Length)]
[String Variable->(Find: 'String Value', Offset, Length, Pattern Offset, Pattern Length)]
Use the [String->Find] tag. The following example finds the position of the word World within the string Blue World.
[Variable: 'theString' = 'Blue World']
[Output: $theString->(Find: 'World')]
6
Tag Link | [String->Find] | Category | String |
---|---|---|---|
Type | Member | Data Source | Any |
Support | Preferred | Version | 5.0 |
Output Type | Integer | Security | None |
Implementation | Sets | Lasso 5.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