This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
string [2017/06/01 08:58] – justin | string [2020/01/19 16:35] – justin | ||
---|---|---|---|
Line 12: | Line 12: | ||
<WRAP center round info 100%> | <WRAP center round info 100%> | ||
- | Any double quotation marks within a string (excluding the enclosing | + | **Note: |
</ | </ | ||
====Example: | ====Example: | ||
<code lua> | <code lua> | ||
- | set_entity_property(entity[" | + | set_entity_property(entity[" |
</ | </ | ||
- | The above example demonstrates 3 different cases of a string being used: an entity | + | The above example demonstrates 3 different cases of a string being used: an entity |
+ | |||
+ | =====String Concatenation===== | ||
+ | Strings can be concatenated, | ||
+ | |||
+ | ====Example: | ||
+ | <code lua> | ||
+ | display_message(" | ||
+ | </ | ||
~~NOTOC~~ | ~~NOTOC~~ |