Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Nativa

string.format

Returns a formatted version of its variable number of arguments following the description given in its first argument.

Non ancora tradotto

Sintassi

Lua
string.format(format, formatParameters)

Parametri

Nome Tipo Predefinito Descrizione
format string The string to be formatted
formatParameters number Values to be formatted into the string.

Valore restituito

  • string