Function
Native
string.format
Returns a formatted version of its variable number of arguments following the description given in its first argument.
Syntax
string.format(format, formatParameters)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
format
|
string | — | The string to be formatted |
formatParameters
|
number | — | Values to be formatted into the string. |
Returns
- string