Replace double quotations
I'm trying to use replace() to edit a string with double quotation marks in it. For example, I want to change: this is fubar to this is fubar But I can't seem to figure out how to escape the quotes. Thanks in advance for any help, Les ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349292 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace double quotations
You double em. So to replace , you use . On Mon, Jan 2, 2012 at 9:28 PM, Les Irvin les.cft...@gmail.com wrote: I'm trying to use replace() to edit a string with double quotation marks in it. For example, I want to change: this is fubar to this is fubar But I can't seem to figure out how to escape the quotes. Thanks in advance for any help, Les ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349293 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Replace double quotations
replace(mystring, '', , all) ie use single quotes for the attribute string wrapper On 3/01/2012 14:28, Les Irvin wrote: I'm trying to use replace() to edit a string with double quotation marks in it. For example, I want to change: this is fubar to this is fubar But I can't seem to figure out how to escape the quotes. Thanks in advance for any help, Les ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349294 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm