Arbortext Command Language > Functions by Alphabetical Listing > rindex
  
rindex
rindex(s1, s2)
 
This function returns the position in the string s1 of the last (rightmost) occurrence of string s2, based at 1. If the substring is not found, 0 is returned. If s2 is the null string, this function returns length(s1).