Difference between revisions of "Concatenation"

From ComputerCraft Wiki
Jump to: navigation, search
(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 (Fixed grammatical error)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Concatenation is the process, in which you combine one or more strings.
+
Concatenation is the process in which you combine one or more strings.
  
 
To concatenate a string you use two periods.
 
To concatenate a string you use two periods.
Line 8: Line 8:
 
  |output=Hello world!
 
  |output=Hello world!
 
  }}
 
  }}
 +
[[Category:Tutorials]]

Latest revision as of 21:02, 11 April 2013

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!