> I am trying to replace some text that has a quote
> already in it. ReplaceNoCase trips up on the quote and
> throws an error. I've tried escaping the quote, or
> placing a "\" in front of it, but I must have the
> syntax wrong.
In CF you escape special characters (" and #) by doubling them up.
Try
<CFSET PAGE=
REPLACENOCASE(CFHTTP.FILECONTENT,
"<A HREF=""http://www.blah.com"",
"go to <A HREF=""http://www.blah.com"",
"all")>
Regards,
Seth Petry-Johnson
Argo Enterprise and Associates
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.