string.string.rpad
Declaration
lua
string.rpad(text, length [, pad])
Description
Right-pad string to target length.
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
text | string | Required | — | |
length | integer | Required | — | |
pad | string | Optional | " " |
Return Values
| Type | Description |
|---|---|
| string |