Skip to content

str::padRight ​

padRight(input: String, padding: Integer) ​

ParameterTypeDescription
inputStringThe string to pad.
paddingIntegerThe desired total length of the padded string.

Returns ​

(String) The given input string with spaces added to the right.