string.lJustify()

Left justifies characters in a string of a specified length.

string.lJustify( length=number )

Returns: String

Argument Description
length
number, required

Length of field in which to justify string

Examples

name = "yoyo".ljustify(10);
writeDump(name);
writeDump(len(name));
writeDump(len(trim(name)));
writeDump(len(ltrim(name)));
writeDump(len(rtrim(name)));

See also