rJustify

Right justifies characters of a string.

rJustify(String, length) → returns String

Argument Reference for the rJustify function

String

Required: Yes

length

Required: Yes

Examples sample code invoking the rJustify function


Tag Example

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

Fork me on GitHub