4
I’ve always created the strings with the quotation marks, like this:
local minhaString = "Eu sou uma string"
I downloaded a source to give a study in the language and I came across the following way to create a string:
local query = [[
SELECT *
FROM `pointshop_data`
WHERE uniqueid = '%s'
]]
What is the advantage/difference in using the [[ / ]]
? How I pass the parameter %s
?