Remove "..\" this way:
<cfif string CONTAINS "..\">
<cfset string = Replace(string, "..\", "", "All")>
</cfif>
Serving MP3's on the web is illegal you know... ;-)
* Holger Lockertsen, Solutions Developer, Horisont Information Systems AS
* Nedre Slottsgate 5, N-0157 OSLO, Noreg/Norway
* 23 31 03 04 / 91 83 20 51
* [EMAIL PROTECTED] http://www.horisont.no/
NB! Horisont har fått nye nummer, og mitt INTERNNUMMER er: 23 31 03 04
> -----Original Message-----
> From: Russel Madere [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 10, 2000 5:45 PM
> To: CF Talk Mailing List
> Subject: A replace question
>
>
> How can I dynamically convert:
>
> d:\songs\..\drip\manual.txt
>
> to:
>
> d:\drip\manual.txt
>
> or:
>
> d:\Songs\Music\K\..\B\Buffett, Jimmy\Song.mp3
>
> to:
>
> d:\Songs\Music\B\Buffett, Jimmy\Song.mp3
>
> ?
>
> I'm having a complete brain lapse!
>
>
> Russel Madere, Jr.
> Web Developer
> TurboSquid
>
> "Be good and you will be lonesome.
> Be lonesome and you will be free.
> Live a lie and you will live to regret it."
> Jimmy Buffett
> That's What Living Is To Me
> ------------------------------------------------------------------
> ------------
> Archives: http://www.eGroups.com/list/cf-talk
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.
------------------------------------------------------------------------------
Archives: http://www.eGroups.com/list/cf-talk
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.