Does it HAVE to be done with a regexp?
You'd have to do a test to see which is quicker (regexp or this method), but
I *think* this would be quicker. Better still, it's "future proof" by
working for a.file.with.more.than.two.dots :)
Cheers,
Justin
on 12/12/02 4:40 AM, Luca ([EMAIL PROTECTE
At 18:40 11.12.2002, Luca spoke out and said:
[snip]
>How to read "pre-extension" of file with regular expression?
>Example: name.preextension.doc
>
>I need to read "preextension"
[snip]
Assuming that "preextension" i
2 matches
Mail list logo