Pads str to the right with padding character until it reaches length.
The string to pad.
The desired length of the resulting string.
The character to use for padding. Defaults to space.
The input string str padded to the right with padding character until it reaches length.
See Implementation
Pads str to the right with padding character until it reaches length.