>>I need to get the location of the nth occurence of a string within another string (from the string end). This is simple in VFP - use RAT(). Is there a VB equivalent?
>
>Isn't there a Instr() function? See also Mid().
Close, but no cigar. InStr() (specifically InStrRev(), in my case) returns only the 1st occurrence - although you can specify where you want it to start - but that still means walking the string backwards.
Mid() is the equivalent of SubStr().
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up