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

© West Wind Technologies, 1996-2018 • Updated: 03/14/08
Comment or report problem with topic