March 2002
Intermediate to advanced
528 pages
21h 29m
English
str_pad
string str_pad(stringstring, stringlength[, stringpad[, inttype]])
Pads string using
pad until it is at least
length characters and returns the
resulting string. By specifying type, you
can control where the padding occurs. The following values for
type are accepted:
|
|
Pad to the right of |
|
|
Pad to the left of |
|
|
Pad on either side of |