index - find a substring within a string
Returns the position of the first occurrence of
STR at or after
POSITION is omitted, starts searching from the beginning of the string. The return value is based at 0 (or whatever you've set the
variable to--but don't do that). If the substring is not found, returns one
less than the base, ordinarily -1.