Tutorials/Types/Strings

From FiguraMC
Revision as of 20:45, 26 September 2024 by Manuel (talk | contribs) (Automated upload of converted .txt file.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A string is a Lua value that represents a sequence of characters.


Strings are not interpreted as code and are treated as literally being characters.


Strings are used with quotation marks (“)


Examples:


"hello" -- this is a string, as identified by the quotes bracketing it

hello -- not a string