Source code
CERNY.js.String
Adds some useful methods for the String prototype.
Uses
None
Functions
pad
Pad a string.
padChr (string)
:
the character which should be used for padding
length (number)
:
how many characters should the string have after padding
front (undefined,boolean)
:
if true, padding is added before the string
return (string)
:
the padded string
History
2007-03-15
:
Added signatures.
2007-01-06
:
Added interception.
2007-01-05
:
Fixed bug in require statement.
2004-10-27
:
Created.

