IndexOf

Returns character position where string occurs in the variable. Index numbering begins with 1.

IndexOf(1, 2)

OrdinalTypeDescription
1stringRequiredVariable to analyze
2stringRequiredCharacter position to return

Given @abc=You will love our product.

System returns:

For the code below, the system returns 1: