instr Function
Purpose:
Returns the position of a substring in a string variable.
Syntax:
instr(string,substring)
Comments:
Returns the zero based index within the string for the first occurrence of the speificed substring. Returns -1 if substring is not found.
Example:
p instr("abc","b")
1