Name

CJustify

Synopsis

CJustify(string, length)

Center-justifies string within a field of length characters. Example:

<CFSET OriginalString = "ColdFusion">

<CFOUTPUT>
<B>Original String (quoted):</B> "#OriginalString#"<BR>
<B>Center-justified String (quoted):</B> "#CJustify("ColdFusion", 20)#"
</CFOUTPUT>

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.