<cfset txt = Replace(form.description,"""","'","ALL") />
..:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -----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 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Get involved in the latest ColdFusion discussions, product development sharing, and articles on the Adobe Labs wiki. http://labs/adobe.com/wiki/index.php/ColdFusion_8 Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:293203 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4