try this
<CFSET PAGE= REPLACENOCASE(CFHTTP.FILECONTENT,  '<A
HREF="http://www.blah.com',  'go to <A HREF="http://www.blah.com',  "all")>

Kalyan Vemula
Web Developer
STONEAGE.COM
Voice: (800)786-6324 x149
Email: [EMAIL PROTECTED]
http://www.stoneage.com

-----Original Message-----
From: cf kaizen [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 09, 2000 9:31 AM
To: [EMAIL PROTECTED]
Subject: Using ReplaceNoCase with a quote in the string


Hi All,

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. Can this be done? My code is below.
Thanks in advance for you help!

<CFSET PAGE=
  REPLACENOCASE(CFHTTP.FILECONTENT,
  "<A HREF="http://www.blah.com",
  "go to <A HREF="http://www.blah.com",
   "all")>

Regards,
Andrew

__________________________________________________
Do You Yahoo!?
Get Yahoo! Mail – Free email you can access from anywhere!
http://mail.yahoo.com/
----------------------------------------------------------------------------
--
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.

------------------------------------------------------------------------------
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.

Reply via email to