Re: pathinfo is broken
- Posted by mattlewis (admin) Apr 22, 2013
- 1357 views
useless_ said...
Instead, can pathinfo[1] be the entire path minus the filename? That's what i was looking for, in all the fury to make Euphoria easier, i still do
object savepath = reverse(cmd) savepath = savepath[match("\\",savepath)..$] savepath = reverse(savepath)
Altho i could use rmatch(), i have used the reverse method for 10 years or more. Yeas, there's other ways too.
Have you tried pathname?
Matt