cjustify

Centers a string in a field length.

cjustify(String, length) → returns String

Argument Reference for the cjustify function

String

Required: Yes

length

Required: Yes

Examples sample code invoking the cjustify function


Tag Syntax

<cfset jstring = cjustify("ColdFusion", 35)> 
 <cfdump var="#jstring#" />   

Fork me on GitHub