Home
Script Language
Strings
padz
See also:
padl
,
padr
,
trim
,
Decimal
Index
Statistical Background
padz
Declaration:
padz
(s: string; width: integer): string;
Inserts zeroes at the beginning of the string
s
so that the resulting string is
width
characters long. If
width
is smaller than the length of the string
s
the unchanged string
s
is returned.