padright( text, length )
Pads text with spaces on the right so that it is a certain length.
Keyword | Type | Description |
---|---|---|
|
Text |
The text to be padded. |
|
Number |
The target number of characters desired in the final text. |
Text
Spaces will be added until the text has the number of characters entered for the length parameter.
Text longer than the specified length remains untouched.
padright("boston",10)
returns boston