<cfset string = """This is a test"""> <cfset string = ReReplace(string, """", "", "all")> <cfoutput> #string# </cfoutput>
"Success is a journey, not a destination!!" Doug Brown ----- Original Message ----- From: "Jerry Johnson" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Wednesday, April 24, 2002 12:33 PM Subject: Re: ReplaceNoCase > If that is a double quote, you can: > > <cfset newVar=replace(var,'"','','ALL')> (use the single quote to surround it) > <cfset newVar=replace(var,"#chr(34)#","","ALL")> (use the chr command to place it in there) > > Jerry Johnson > > >>> [EMAIL PROTECTED] 04/24/02 03:16PM >>> > Hoe do I remove " from something? I tried setting it a variable but no > luck... > > Thanks, > Brian > > > __________________________________________________________________ ____ > Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm > FAQ: http://www.thenetprofits.co.uk/coldfusion/faq > Archives: http://www.mail-archive.com/[email protected]/ > Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists > ______________________________________________________________________ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

