Here's Chad with the long, drawn out answer... I just keep rereplace-ing...
<cfset ReturnTask0 = ReReplace(Task, "'", "’", "ALL")> <cfset ReturnTask = ReReplace(ReturnTask0, '"', """, "ALL")> #ReturnTask# Look forward to hearing a better way. Chad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jeremy Sent: Thursday, 24 February 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/
