Tag Link | [String_FindPosition] | Category | String |
---|---|---|---|
Type | Substitution | Source Available | No |
Support | Preferred | Version | 2.5 |
Change | Unchanged | Data Source | Any |
Output Type | Integer | Security | None |
Implementation | LCAPI | Sets | Lasso 8.5, Lasso 8.0, Lasso 7.0, Lasso 6.0, Lasso 5.0, Lasso 3.x, Lasso 2.5 |
[String_FindPosition] takes two parameters: a string value and a
[String_FindPosition: 'String Value',
Required Parameters | |
---|---|
String Value | The string which is to be checked. |
-Find | The pattern which is to be checked for in the string. |
To find the location of a substring within a string:
Use the [String_FindPosition] tag. The following example finds the position of the word Pilot within the string OmniPilot.
[String_FindPosition: 'OmniPilot',
5