Just a quick string manipulation question.  I can't seem to find a function
in the quick reference guide that came with CF that does what I want it to
do.

Let's say that I output the contents of a variable:

<CFOUTPUT>#variable#</CFOUTPUT>

And it prints on the screen: 'hello'

How do I manipulate the string so that I can get rid of the "enclosing"
single quotes so that if I were to repeat the above cfoutput tags it would
print:

hello

I tried this but it throws an error because of the single quote...  I tried
"escaping" it with another single quote but it seems like it ignores both of
them altogether:
<CFSCRIPT>
variable = Replace(variable, "'", "");
</CFSCRIPT>

Rolando
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to