Microsoft Store
 

Concatenation


 

In formal language theory (and therefore in programming languages), concatenation is the operation of joining two character strings end to end. For example, the strings "foo" and "bar" may be concatenated to give "foobar". In programming languages, string concatenation is usually accomplished by putting a concatenation operator between two strings (operands). The following statement assumes the language

Related Topics:
Formal language - Theory - Programming language - Character strings - Operator - Operand

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

uses the "+" symbol as its concatenation operator:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

print "Hello " + "World";

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

This code will print to the screen:

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Hello World

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

 

~ Table of Content ~

Introduction
Different languages
Interpolation
Other uses of concatenation
Concatenation in mathematics

 

 

~ What's Hot ~


~ Community ~

History Forum
Come and discuss about History, Civilizations, Historical Events and Figures
History Web-Ring
A community of sites, blogs and forums dedicated to History. Do not hesitate to submit your site.