Get file name from full path and name?
J. Landman Gay
jacque at hyperactivesw.com
Wed Feb 8 17:53:43 EST 2006
Garrett Hylltun 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" ?
Like so:
set the itemdelimiter to "/"
put last item of "my/long/filepath/name.txt" into tShortName
--
Jacqueline Landman Gay | jacque at hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
More information about the use-livecode
mailing list