Read Me - Common Public License V1.0 - Copyright Notice(©)

right


>>-right(length-+------+-)-------------------------------------><
                +-,pad-+

Returns a string of length [length] containing the rightmost [length] characters of the receiving string. The string returned is padded with [pad] characters, or truncated, on the left as needed. The default [pad] character is a blank. The [length] must be a positive whole number or zero.

String class - right method

"abc  d"~right(8)     ->    "  abc  d"
"abc def"~right(5)    ->    "c def"
"12"~right(5,"0")     ->    "00012"

Read Me - Common Public License V1.0 - Copyright Notice(©)