In Java, '
means “character” and ""
means string. Does this apply to Luau? I currently don’t have a way to test this, as I am asking here.
In Luau, there is no such datatype named “character”, there is only “string” datatype that is used for storing characters in an order so both of those are used to create strings in almost same way with the exception of that you can use '
in strings declared with ""
and vice versa.
1 Like
No?
I don’t think luau has a type character, just string, bool, nil, number, function, table, etc
(Vanilla Lua)
Not sure how this would be useful in Lua.
Welp, guess it does not matter how you type it. Thanks.