I am developing on a desktop with WIN2K Prof. and Personal Web Server. That is where the problem below occurred. On the production server <cfset newtext = #replace(oldtext, '"', "'", "ALL")#>
woked in both cases. Thanks to all those who responded. --- On Thu 05/12, jgeorges < [EMAIL PROTECTED] > wrote: From: jgeorges [mailto: [EMAIL PROTECTED] To: [email protected] Date: Thu, 12 May 2005 12:54:47 -0400 (EDT) Subject: RE: What's wrong with this code? When the text is submitted from a form with an INPUT statement (text box) the following code works: <cfset newtext = #replace(oldtext, '"', "'", "ALL")#> When the text is submitted from a form with a TEXTAREA statement the following code works: <cfset squote = "´"> <cfset dquote = """> <cfset newtext = #replace(oldtext, dquote, squote, "ALL")#> Note, I am trying to eliminate double quotes. 'squote' is actually the acute symbol. It will not work with a single quote. _______________________________________________ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:206559 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

