Lucee object methods reference
Object Method String.cJustify
Returns the given string justified to the center, padding out the words with spaces accordingly
String.cJustify(number length):string
Category
string,formatting
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
length | number | Yes | A positive integer. Length of field. |