You can escape them, or you can switch the type of quotes you use to delineate the string within a CF function.
Replace(x, "<table width=""640"">", "<table width=""720"">", "all") Replace(x, 'table width="640">', '<table width="720">', "all") Jim ----- Original Message ----- From: "Jim Vosika" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, February 10, 2002 10:13 PM Subject: RE: Escaping characters > I guess I dont really understand why "" works as well as why ## works > but thanks!! > > use two "s as in <table width=""640""> > > -----Original Message----- > From: Jim Vosika [mailto:[EMAIL PROTECTED]] > Sent: Sunday, February 10, 2002 11:35 PM > To: CF-Talk > Subject: Escaping characters > > > Earlier Ben Forta told me that to escape a character like in: > > <cfset variables.test = ReplaceNoCase(variables.testVar, "<TD > bgcolor=#ffffff width=1>", " new code ", "ALL")> > > that I needed to change #FFFFFF to ##FFFFFF so it doesn't think it is a > variable. Now I am trying to replace <table width="640"> How do I work > around the quotes? > > Thanks, > Jim Vosika > > ______________________________________________________________________ Why Share? Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER Instant Activation � $99/Month � Free Setup http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

