Quantcast
Channel: Adobe Community : Discussion List - ColdFusion
Viewing all articles
Browse latest Browse all 6243

replace quotes?

$
0
0

Hello I'm on Coldfusion 10 and I'm trying to figure out how to replace quotes ("). So far I tried this:

 

<cfset Session.Artist1 = Replace(Session.Artist1,"&quot;","&quot;",'ALL') >

 

That does nothing, I then tried this:

 

<cfset Session.Artist1 = Replace(Session.Artist1,"&#34","&quot;",'ALL') >

 

That errors out CF. I'll get this:

 

Error Occurred While Processing Request

Invalid construct: Either argument or name is missing.

 

So is there anything that would work in CF and in SQL for " (quotes)? I having people use the HTML &quot;, but that also shows up in SQL as the coding. I would like it to work in CF and in SQL as just ", but can't figure out how. Any help would be great.

 

Thanks


Viewing all articles
Browse latest Browse all 6243

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>