Command Reference : String and Date Function Reference
Syntax: @instr(str1, str2[, n])
Argument 1: string, str1
Argument 2: string, str2
Argument 3: integer, n
Return: integer
Finds the starting position of the target string str2 in the base string str1. By default, the function returns the location of the first occurrence of str2 in str1. You may provide an optional integer n to change the occurrence. If the occurrence of the target string is not found, @INSTR will return a 0.
@instr("1.23415", "34")
return the value 4, since the substring “34” appears beginning in the fourth character of the base string.
See also @rinstr and @mid.