String.padR

Pads a string on the right with a given pad character.

o.String.padR(width,pad)

Parameters

width
The width the string is to be padded to. If the string is longer than width it is trimmed to the width.

pad
Optional - the pad character. Defaults to space (" ")

See also:

Class String


  Last Updated: 3/14/2008 | © West Wind Technologies, 2008