sznur formatowy Roblox

-- Just String
local str = "The magic word is %s"
print(string.format(str, "Roblox"))

-- With Quotes
local str = "The magic word is %q"
print(string.format(str, "Roblox"))

-- New Line
local str = "Skip to \na new line and \nanother new line!"
print(string.format(str, "%q"))
Undefined