I always created the strings with the quotation marks, like this:
local minhaString = "Eu sou uma string"
I downloaded a source to give a studied 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 [[ / ]]
? How do I pass the %s
? Parameter