REReplace(string, "[EMAIL PROTECTED]&()]", "ALL")

give something like that ago

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Jeremy
Sent: Thursday, February 24, 2005 6:05 PM
To: CFAussie Mailing List
Subject: [cfaussie] Replace()


Hey,

Quick Question, I have a string.

<cfset Desc = "The cow's jumped over the moon and landed, in scotts yard.">
<cfset NewDesc = #ReReplace(Desc,",","","ALL")#>

It will remove the , out of the string however if I want to have a list of
things to remove i.e. , ' $ etc. Whats the best way to go about doing
this.

I got something working simular using Javascript but this is in a process
page...me think perhaps cfscript and loop it or something.

Surely this has been done before.

Mucho Gracis!
el Jeremino

---
You are currently subscribed to cfaussie as: [EMAIL PROTECTED]
To unsubscribe send a blank email to
[EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/



---
You are currently subscribed to cfaussie as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to