index

This function returns the position of the first occurance of the specified SEARCH string. If POSITION is specified, the occurance at or after the position is returned. The value -1 is returned if the SEARCH string is not found.

[perl]
rindex STRING,SEARCH,POSITION
rindex STRING,SEARCH
[/perl]