Difference between revisions of "Concatenation"

From ComputerCraft Wiki
Jump to: navigation, search
(Fixed spelling.)
(\/)
Line 1: Line 1:
Content missing.
+
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.


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