parsing through pathnames

Mark Brownell gizmotron at earthlink.net
Tue Jan 27 15:49:26 EST 2004


On Tuesday, January 27, 2004, at 12:11  PM, Barry Levine wrote:

> "/Appleworks\ 6" is the last item of 
> "/Volumes/120GB/Applications/Appleworks\ 6"

Just change the itemDelimiter to "\" to parse this last item after you 
get it from the full path.

if lastItemFullPath  = "/Volumes/120GB/Applications/Appleworks\ 6" then
   set itemDelimiter to "\"
   put item last of lastItemFullPath into zippityDoDahDay
end if

mb



More information about the use-livecode mailing list