local s = string.format("%s %q", "Hello", "Lua")
print(s)//Hello "Lua"
local s = string.format("%c%c%c", 76,117,97)
print(s)//Lua
local s = string.format("%e, %E", 3.14, 3.14)
print(s)//3.140000e+000, 3.140000E+000
local s = string.format("%f, %g, %G", 3.14, math.pi, math.pi)
print(s)//3.140000, 3.14159, 3.14159
local s = string.format("%d, %i, %u", 10, 10, -10)
print(s)//10, 10, 4294967286
local s = string.format("%o, %x, %X", 10, 10, 10)
print(s)//12, a, A