jgeorges wrote:

>.....
>
><cfset squote = "&acute;">
>
><cfset dquote = "&quot;">
>
><cfset newtext = #replace(origtext, dquote, squote, "ALL")#>
>
>.....
>
>
>
>origtext contains double quotes (") which the REPLACE function does not 
>convert.
>
>  
>
Do you WANT the double quotes to vanish with the replace or not?

If so do

<cfset squote = '"&acute;"'>

so that the double quotes are part of the variable itself.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support 
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:206542
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to