Is there a way to scan a text string from end to beginning for something without using a loop? I am trying to "be binary" (for those of you conference goers) and I am trying to extract just a file's name from the full path. It seems to be something of a difficult thing to do in a one liner.

What would have helped is if the offset function had some way to reverse directions, like an arguement that made offset work end to beginning. Foxpro has 2 functions that are similar, AT() and RAT(). The R is for reverse obviously, and the number is for occurances not characters to skip. Oh well. Maybe we need an roffset() function. :-)

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to