Previous: chrri2 Up: ../chrrtn.html Next: chrswp


 (Reverse Substring Index)

 Given two character  strings defined  by the  arguments TEXTA,LENA  and
 TEXTB,LENB, search the first string  backwards for the last  occurrence
 of the  second string.   If either  of the  arguments LENA  or LENB  is
 invalid, or if the second string is  not found in the first, return  0.
 Otherwise, return its index, or  position, in TEXTA, counting from  the
 first character stored in TEXTA(*).  The result returned is thus always
 .GE. 0.