Skip to main content

shared string.format

string string.format(str, ...)

Formats the given string with the given params
Ex: string.format("hello {}, age {}", "world", 20) = "hello world, age 20"


Parameters

TypeNameDescriptionOptional
stringstrNo description
any...No description

Returns

TypeDescription
stringNo description