Regards
Mark Henderson
Web Designer
mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
205 Main Street
PO Box 143, Gore
Southland 9700
Phone: (03) 203 9999
Fax: (03) 203 9900
-----Original Message-----
From: Pascal Peters [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 31, 2004 1:19 AM
To: CF-Talk
Subject: RE: Removing extensions from filelists
This will work in most cases, but not if there is a dot in the filename.
The easiest way to remove the extension is using the regexp I posted.
List functions will give problems in some cases.
Pascal
> -----Original Message-----
> From: Ewok [mailto:[EMAIL PROTECTED]
> Sent: 30 August 2004 13:15
> To: CF-Talk
> Subject: RE: Removing extensions from filelists
>
> <cfdirectory name="fls" directory="d:\my\dir\of\files" action=""> >
>
>
> <cfoutput query="fls">
>
> #replace(listFirst(name, "."), "_", " ", "ALL")#<br>
>
> </cfoutput>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

