get path basename or how to parse a file path
Posted: Tue Apr 30, 2013 8:13 pm
Hi Folks,
I am very new to LiveCode, but trying to get up to speed quickly. Right now I am stuck trying to parse a file path, so given the following file path:
/some/foo/bar/path/to/bingo.html
how can I put the filename bingo.html into a container? I have searched and searched without success. It seems to be more complicated than it needs to be.
Any help or pointers to documentation would be greatly appreciated.
Thanks,
Daryl
I am very new to LiveCode, but trying to get up to speed quickly. Right now I am stuck trying to parse a file path, so given the following file path:
/some/foo/bar/path/to/bingo.html
how can I put the filename bingo.html into a container? I have searched and searched without success. It seems to be more complicated than it needs to be.
Any help or pointers to documentation would be greatly appreciated.
Thanks,
Daryl