IndexOf
Returns character position where string occurs in the variable. Index numbering begins with 1.
IndexOf(1, 2)
Ordinal | Type | Description | |
---|---|---|---|
1 | string | Required | Variable to analyze |
2 | string | Required | Character position to return |
Given @abc=You will love our product.
System returns:
For the code below, the system returns 1: