Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed length.
Optional
The string to pad.
The padding length.
The string used as padding.
Returns the padded string.
Pads string on the right side if it’s shorter than length. Padding characters are truncated if they exceed length.