in reply to RE: RE: RE: variable comparison
in thread variable comparison

for finding the last instance of a string in another string, you can use rindex.