string.cJustify()

Returns the given string justified to the center, padding out the words with spaces accordingly

string.cJustify( length=number )

Returns: String

Argument Description
length
number, required

A positive integer. Length of field.

Examples

str = cJustify("ColdFusion", 35)
	writeDump(str.len());

See also