On 19/07/2004, at 9:22 AM, C.F. Scheidecker Antunes wrote:
Is there any easy and efficient way to separate files extention that
vary in size?
Some have 3 chars after the dot, some 2, some 1, some 4, some none.
Examples:
test.zip
test.gz
test.z
test.jpeg
test.jpg
test (no extention)
---
Justin
On Monday 19 July 2004 07:22, C.F. Scheidecker Antunes wrote:
> Is there any easy and efficient way to separate files extention that
> vary in size?
Please RTFM. A quick browse through the String functions would have broguht
your attention to explode().
But the easiest solution is pathinfo().
Hello all,
Is there any easy and efficient way to separate files extention that
vary in size?
Some have 3 chars after the dot, some 2, some 1, some 4, some none.
Examples:
test.zip
test.gz
test.z
test.jpeg
test.jpg
test (no extention)
an have the result returned on a $fext field?
I think this ca
3 matches
Mail list logo