-- string.format is used to change placeholder variables in a string with a variable -- Example: local startString = "I'm very %s today." local mood = "happy" local formatString = string.format(startString, mood) print(formatString) -- "I'm very happy today." -- For each format type, there is a variable. --[[ %s = string %f = float %d = decimal %x = hexadecimal %o = octal %c = character --]]