9951 explained code solutions for 126 technologies


luaHow to format a string


formatted = string.format("this is %s and %s", var1, var2)ctrl + c
formatted

will contain formatted string

string.format

formats specified string

"this is %s and %s"

string format pattern to use

var1, var2

variables to embed