1. REReplace(filename,"\.\w+$","")
2. Replace(filename,"_"," ","all")

Pascal

> -----Original Message-----
> From: Mark Henderson [mailto:[EMAIL PROTECTED]
> Sent: 30 August 2004 06:46
> To: CF-Talk
> Subject: [Spam?] Removing extensions from filelists
>
> I'm currently attempting to incorporate the generation of automatic
> filelists (using cfdirectory), depending on the fuseaction a user
selects.
> One thing I'm wondering (not much luck in google) is if there is a way
to
> remove the file extensions from the generated output.
> I.E. spybot13.exe becomes spybot13
>
> I'd also like to remove underscores from filenames and replace those
with
> a space.
>
> TIA
> Regards
> Mark H
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to