Lucee Function Reference

ljustify()

Left justifies characters in a string of a specified length.

Example

ljustify(string string,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
string string  Yes A string or a variable that contains one  
length number  Yes Length of field in which to justify string