Name
Chr
Synopsis
Chr(number
)
Returns the character equivalent of the ASCII character code. The following example generates a chart of all the printable ASCII characters:
<TABLE BORDER="1"> <TR><TH>Character</TH><TH>ASCII Code</TH>/TR> <CFLOOP INDEX="Character" FROM="33" TO="255"> <CFOUTPUT> <TR><TD>#Chr(Character)#</TD><TD>#Asc(Chr(Character))#</TD></TR> </CFOUTPUT> </CFLOOP> </TABLE>
Get Programming ColdFusion now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.