rJustify

Right justifies characters of a string.

rJustify(String, length) → returns string

rJustify Argument Reference

String string
Required

length numeric
Required

Examples sample code invoking the rJustify function

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

Fork me on GitHub