rJustify

Right justifies characters of a string.

rJustify(String, length) → returns string

Argument Reference

String string
Required

length numeric
Required

Examples
Sample code invoking the rJustify function

<cfset length=10>
<cfset result = RJustify("abc",length)>
<cfoutput>
    <pre>~#result#~</pre>
</cfoutput>

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub