str_pad $val=…;$pad_length=…;$pad_string=…[;$pad_type=…]
This functions returns the input string padded on the left, the right, or both sides to the specified $pad_length.  padded with the characters from $pad_string up to the limit.
