Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q3016 How can I put a # (pound sign) in my ColdFusion output?

You are here: irt.org | FAQ | ColdFusion | Q3016 [ previous next ]

You can "escape" the pound sign by doubling it. For example:

<cfoutput><font color="##FFFFFF">#myVariable#</font></cfoutput>

Alternately, consider moving the CFOUTPUT tags closer to the variable, like this:

<font color="#FFFFFF"><cfoutput>#myVariable#</cfoutput></font>

Feedback on 'Q3016 How can I put a # (pound sign) in my ColdFusion output?'

©2018 Martin Webb