Re: pathinfo is broken

new topic     » goto parent     » topic index » view thread      » older message » newer message
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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu