Pads a string on the right with a given pad character.