Thanks. This was the correct answer (adding more pound signs). I figured
it out shortly after sending my message to the list.
H.
> -----Original Message-----
> From: Benjamin S. Rogers [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, January 05, 2001 7:26 AM
> To: CF-Talk
> Subject: RE: Those Pesky Pound Signs
>
> You have to double them up or use the Chr() function. The pound sign
> always
> has to be escaped in a CFML page. The only times you don't have to worry
> about it is when your reading it from a file or a field in a database
> (i.e.
> some external source that is not evaluated as CFML).
>
> Anyway, to answer your question, here's a few examples.
>
> ex:
>
> <cfset Attributes.Calendar = Replace(form.calendar, "<tr>", "<tr
> bgcolor=######bgcolor## align=center>", "ALL")>
>
> ex:
>
> <cfset Attributes.Calendar = Replace(form.calendar, "<tr>", "<tr
> bgcolor=#Chr(35)##Chr(35)##Chr(35)#bgcolor#Chr(35)# align=center>",
> "ALL")>
>
> Benjamin S. Rogers
> Web Developer, c4.net
> voice: (508) 240-0051
> fax: (508) 240-0057
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists