str_pad

Pad strings to a target width

Pads strings on the left, right, or both sides until they reach a requested width.