Source code

CERNY.js.Number

Adds some useful methods for the String prototype.

Functions

pad

Pad a string.

padChr : the character which should be used for padding
length : how many characters should the string have after padding
front : if true, padding is added before the string

History

2004-10-27 : Created.

API Documentation for version

1.0

Scripts

Support

If you have any question or suggestions regarding Cerny.js, do not hesitate to contact me. Your input is always welcome.