Get file name from full path and name?
Garrett Hylltun
garrett at paraboliclogic.com
Wed Feb 8 18:00:41 EST 2006
Mmmmm.... Doughnut.... This is good too.
Thanks J.
-Garrett
On Feb 8, 2006, at 2:53 PM, J. Landman Gay wrote:
> 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
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list