You need to escape the first "

#Replace(myQuery.myField, " "" ", "", "All"     )#




Douglas Brown
Email: [EMAIL PROTECTED]
----- Original Message -----
From: "Charlie" <[EMAIL PROTECTED]>
To: "CF-Talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 20, 2002 9:03 AM
Subject: replace double quotes - syntax help


> all these tough questions and heady subjects, here's an easy
one i hope
>
> I am attempting to remove all instances of double quotes
within string, and this seems be incorrect syntax
>
>
> #REReplace("myQuery.myField", " "  " , "" , "ALL")#
>
> additionaly, the reason i need to remove the double quotes is
that they are causing a javascript error....it is okay with my
client that for this particular item, that the double quotes are
omitted, but IS there a way to preserve them without causing the
javascript to fail
>
>
>
>

______________________________________________________________________
Get the mailserver that powers this list at http://www.coolfusion.com
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to