Difference between revisions of "Concatenation"
From ComputerCraft Wiki
(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...") |
m (Moved to CAT:Tutorials.) |
||
Line 8: | Line 8: | ||
|output=Hello world! | |output=Hello world! | ||
}} | }} | ||
+ | [[Category:Tutorials]] |
Revision as of 15:43, 28 November 2012
Concatenation is the process, in which you combine one or more strings.
To concatenate a string you use two periods.
Example | |
Concatenating strings. | |
Code |
print("Hello ".."World".."!") |
Output | Hello world! |