Difference between revisions of "Concatenation"
From ComputerCraft Wiki
(Fixed spelling.) |
(\/) |
||
Line 1: | Line 1: | ||
− | + | 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("Hello ".."World".."!") | ||
+ | |output=Hello world! | ||
+ | }} | ||
+ | [[Category:Tutorials]] |
Revision as of 10:17, 4 December 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! |