Funzione
string.FormatArgs
A better string.Format, replace <code>{num}</code> by the corresponding vararg in a string
Non ancora tradotto
Sintassi
string.FormatArgs(args)
Parametri
| Nome | Tipo | Predefinito | Descrizione |
|---|---|---|---|
args
|
any... | — | The args |
Valore restituito
- string
Esempi
local str = "Hello {2} I'm {1}",local new_str = str:FormatArgs("a noob", "world!")