On 2/8/06 4:46 PM, "Garrett Hylltun" <[EMAIL PROTECTED]> wrote:

> Greetings,
> 
> Searched the docs for anything that might do this, but can't find
> anything....
> 
> Does anyone know how to extract a file name and extension from a full
> path, such as from "answer file" ?

Here's another one (the 'regex' way):

    get matchText(pPath,".*\/(.*?)$",tLeaf)
    return tLeaf

Still not a 1-liner, though...

Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: [EMAIL PROTECTED]

_______________________________________________
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