String concatenation

From Conservapedia
This is the current revision of String concatenation as edited by Yeschayi (talk | contribs) at 16:35, July 11, 2021. This URL is a permanent link to this version of this page.
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

String concatenation is the joining of two series of characters, or strings. The characters can be alphabetic, numeric, special characters or a combination thereof. Concatenation is language dependent and may have different operators depending on the computer programming language used.

Example

a = "this is"
b = "my name."
print ab
printed > this ismy name (note no space between is and my )
print a + b
printed> this is my name ( the + operator joins the strings with a space between them. )