You need the breaking "". Try this:

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

Robert B. Harrison
Director of Interactive services
Austin & Williams
125 Kennedy Drive, Suite 100 Hauppauge NY 11788
T : 631.231.6600 Ext. 119 
F : 631.434.7022
www.austin-williams.com

Great advertising can't be either/or... It must be &.

-----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

 







~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Download the latest ColdFusion 8 utilities including Report Builder,
plug-ins for Eclipse and Dreamweaver updates.
http;//www.adobe.com/cfusion/entitlement/index.cfm?e=labs%5adobecf8%5Fbeta

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

Reply via email to