set aChangedString = aString.padRight(character, length)
set aChangedString = padRight(LITERAL, character, length)
Semantics
The string is padded to the length by adding the character on the right (end) of the string. If the string is already of the required size or larger, the string is returned unchanged.
Substitutables
aString
Can be any variable or object attribute having the type String.