P is for Practical | |
PerlMonks |
Re: Re: Re: Re: Parse out the extension of a filename - return base of filename.by demerphq (Chancellor) |
on Mar 27, 2002 at 09:55 UTC ( [id://154625]=note: print w/replies, xml ) | Need Help?? |
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
In Section
Cool Uses for Perl
|
|