Left justifies characters in a string of a specified length.
A copy of a string, left-justified.
LJustify(string, length)
Parameter |
Description |
---|---|
string |
A string or a variable that contains one |
length |
Length of field in which to justify string |
<cfscript> string="Hello CFFiddle, how are you?" length=50 writeOutput(LJustify(string,length)) </cfscript>
Output
Hello CFFiddle, how are you?
Sign in to your account