Log in / create account | Login with OpenID
DocForge
Programmer's Wiki

Concatenation

From DocForge

Concatenation. From the Latin concatnre, which means to bind, from the Latin catna, chain. It literally means conjoining two or more sequences together to form one sequence. Most usually in the context of Strings (arrays of characters), this is done quite often and many languages have specialized operators for the concatenation of strings and arrays.

Eg:

Java + String baaz=((String)"foo")+((String)" ")+((String)"bar");
C/C++ strcat (#import <cstdlib>) char foo[]=strcat("foo", strcat(" ", "bar"));
D ~ char[] baaz="foo"~" "~"bar";