Difference between revisions of "The String Concatenation"

From Catglobe Wiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Operators]]
 
[[Category:Operators]]

+
{{HelpFiles}}
  
 
===The String Concatenation===
 
===The String Concatenation===

Revision as of 09:06, 14 December 2011



The String Concatenation

CGS uses operator ‘+’ for concatenating string expressions. When the operator ‘+’ is used between a string and a number expression, the number expression will be converted to a string and then concatenated to the string expression.

For example, if we have an expression: “1” + 6, its value is a string: “16”.