lJustify

Left justifies characters in a string of a specified length.

lJustify(String, length) → returns String

Argument Reference for the lJustify function

String

Required: Yes

length

Required: Yes

Examples sample code invoking the lJustify function


Tag Example

<cfset local.justifyString = "abcdefghijklmnop" /> 
 <cfset jstring = lJustify(local.justifyString, 10)> 
 <cfdump var="#jstring#" /> 

Fork me on GitHub