remove the quotes around form.description #Replace(form.description,'"',"'","ALL")#
Rick Sanders wrote: > 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:293206 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4