Part 4
Concatenation

 

String concatenation simply means joining two strings end-to-end.

 

Concatenation operator requires two operands with the concatenation symbol positioned between them. To denote concatenation we will use a lower-case letter “o”. But remember that different systems may use different concatenation symbols.

Strings can contain any kinds of characters—alphanumeric, special characters, or abstract types, but no matter what the alphabet is — one string always joins another one end-to-end. 

Several examples below illustrate this:

<1> o <4, 4, 5> = <1,4,4,5>
<Ԉ,א, ג> o <☺, ☼, ♥> = <Ԉ, א, ג, ☺, ☼, ♥>

Concatenation can join more than one entities at the same time:

<7> o <11, 13 > o <17, 19, 23 > = < 7, 11, 13, 17, 19, 23 >