Concatenation

From ComputerCraft Wiki
Revision as of 06:00, 2 April 2012 by Itunes89 (Talk | contribs) (Created page with "Concatenation is the process, in which you combine one or more strings. To concatenate a string you use two periods. {{Example |desc=Concatenating strings. |code=print("He...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Concatenation is the process, in which you combine one or more strings.

To concatenate a string you use two periods.


Grid paper.png  Example
Concatenating strings.
Code
print("Hello ".."World".."!")
Output Hello world!