February 2013
Intermediate to advanced
538 pages
20h 55m
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
|
Read now
Unlock full access