Pad the string on the right side to the specified length.
Example:
assert (Strings.padRight ("hi", 5, '.') == "hi...");
| s |
the string to pad. |
| len |
the desired total length. |
| pad |
the padding character. |
|
padded string. |