in reply to Re: Extract string from rear of string
in thread Extract string from rear of string

Actually, it returns the position of the rightmost occurrence of a substring rather than a character. Though, you could use it to check for a substring that is only one character.
       rindex STR,SUBSTR,POSITION
       rindex STR,SUBSTR
               Works just like index() except that it returns the
               position of the LAST occurrence of SUBSTR in STR.
               If POSITION is specified, returns the last occur­
               rence at or before that position.

--
Snazzy tagline here
  • Comment on Re: Re: Extract string from rear of string