Lucee Function Reference
Function CJUSTIFY
Returns the given string justified to the center, padding out the words with spaces accordingly
Example
cjustify(string string,number length):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
string | string | Yes | May be empty. If it is a variable that is defined as a number, the function processes it as a string. |
length | number | Yes | A positive integer. Length of field. |