I've been curious, and I notice somethings use '' and other "". What's the difference between them?
✓ ANSWER ACCEPTED
What's the difference between ' and "?
1 answer
✓ Accepted answer
There is none. I prefer ". but many others use '. You just have to use the same one to form a string. For example you can't
local string = "text'
--But you can
local string2 = "text"
--or
local string3 = 'text'
Neither is better, but just stay consistent and choose one!
This discussion is preserved as it was. New answers, comments, and votes are closed.
