Syntax
int strindex( string str, string substr )
Description
strindex returns the numerical offset of a given string within another string. If the substr is not found, it returns -1.
Example
printf("%d\n",strindex("xxxfooxxx","foo"));
Returns: "3"
printf("%d\n",strindex("xxxfooxxx","bar"));
Returns: "-1"