Remove the single quotes from form.description. You are treating it as a
string rather a variable

-----Original Message-----
From: Rick Sanders [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 13, 2007 9:25 AM
To: CF-Talk
Subject: Replace Syntax

Hey list,

 

I'm trying to replace double quotes for single quotes in a string using
this
syntax:

#Replace('form.description','"',"'","ALL")#">

 

However, it's giving back form.description in the output and not the
actual
text from the textfield named "description".

 

What am I doing wrong?

 

Rick Sanders

Webenergy

Canada: 902-401-7689

USA:       919-799-9076

Canada: www.webenergy.ca

USA:       www.webenergyusa.com

 







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade to ColdFusion 8 and integrate with Adobe Flex
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293196
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to