1 the state of being linked together as in a chain; union in a linked series
2 the linking together of a consecutive series of symbols or events or ideas etc; "it was caused by an improbable concatenation of circumstances"
3 a series of things depending on each other as if linked together; "the chain of command"; "a complicated concatenation of circumstances" [syn: chain]
4 the act of linking together as in a series or chain
- Rhymes: -eɪʃǝn
- (countable or uncountable) A series of links united; a series or order of things depending on each
other, as if linked together; a chain, a succession.
- 1927, Albert Einstein, as quoted by H. G. Kessler in The Diary
of a Cosmopolitan (1971)
- Try and penetrate with our limited means the secrets of nature and you will find that, behind all the discernible concatenations, there remains something subtle, intangible and inexplicable.
- 1927, Albert Einstein, as quoted by H. G. Kessler in The Diary of a Cosmopolitan (1971)
In computer programming, 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 a binary operation usually accomplished by putting a concatenation operator between two strings (operands).
For example, the following expression uses the "+" symbol as the concatenation operator:
print "Hello " + "World";
which produces the output:
Different languages use different operators. Most languages use the "+" sign though several deviate from this norm.
For a more detailed comparison, please see the concatenation comparison article.
For example, in PHP and Perl:
//Example 1 (concatenation operator ".") $var = "Hello "; $var = $var . "World";
//Example 2 (combined assignment and concatenation ".=") $var = "Hello "; $var .= "World";
Both examples produce the same result.
InterpolationSome languages, (such as Perl, PHP, and most Unix shells), support variable interpolation as an alternative form of string concatenation.
For example, in Perl, the concatenation syntax:
my $stringVar; $stringVar = "World"; print "Hello " . $stringVar;
can be substituted with the string literal syntax:
my $stringVar; $stringVar = "World"; print "Hello $stringVar";
- Concatenation of languages (different from concatenation on strings)
concatenation in Bulgarian: Конкатенация
concatenation in German: Konkatenation (Listen)
concatenation in Spanish: Concatenación
concatenation in French: Concaténation
concatenation in Galician: Concatenación
concatenation in Dutch: Concatenatie
concatenation in Polish: Konkatenacja
concatenation in Russian: Конкатенация
concatenation in Simple English: Concatenation
concatenation in Swedish: Konkatenering
concatenation in Turkish: Concatenation
concatenation in Chinese: 串接