Function Reference
— Function File: rindex (s, t)

Return the position of the last occurrence of the character string t in the character string s, or 0 if no occurrence is found. For example,

          rindex ("Teststring", "t")
                6

Caution: This function does not work for arrays of character strings.

See also: find index