Use ReReplace with Evaulate
Hi,
I have a page that I am passing the letter "X" through a hidden field to my action page. But when I try to output the "X", it put the single quotes around the X like this 'X'. How can I remove the single quotes from displaying on the page? I was thinking using the ReReplace function, but I'm not sure how to write this code with the Evaluate function. Here's what I have:
<cfif isDefined("form.Comments#id#") and #Evaluate("form.Comments#id#")# neq "">
<font size = "5" color=dd0000><strong>#Evaluate("form.Flag_Comments#id#")#</strong></font>
<cfelseif "form.Comments#id#" eq "">
</cfif>
How can I incorporate this with the Evaluate function above:
#ReReplace(cookie.class, "\'", "", "ALL")#
I think this will remove the single quotes, correct? Thanks.
Andy
