Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

What's the difference between ' and "? [closed]

Asked by
Async_io 908 Moderation Voter
8 years ago

This question already has an answer here:

What's the difference between ' and "?

I've been curious, and I notice somethings use '' and other "". What's the difference between them?

Marked as Duplicate by rexbit and BlueTaslem

This question has been asked before, and already has an answer. If those answers do not fully address your question, then please ask a new question here.

Why was this question closed?

1 answer

Log in to vote
1
Answered by 8 years ago

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!

Ad