in reply to Re: Re: Re: Parse out the extension of a filename - return base of filename.
in thread Parse out the extension of a filename - return base of filename.
Actually it was the use of rindex that caused a script here to behave very strangely just the other day.
BTW, you and snafu might like to have a look at one of my earlier posts (and the thread its in) for some interesting discussion about parsing filenames/urls with a regex.
Yves / DeMerphq
---
Writing a good benchmark isnt as easy as it might look.
|
|---|