String Concatenation
Jump to navigation
Jump to search
A String Concatenation is a Sequence Concatenation that joins two or more strings.
- AKA: Concatenation.
- Example(s):
- $a$, $b$, $c$ are concatenated into a single string : $abc$;
- $book$ and $shelf$ are concatenated into a single string : $bookshelf$;
- $snow$ and $ball$ are concatenated into a single string : $snowball$;
- Python String Concatenation.
- …
- Counter-Example(s):
- See: Primitive Notion, Formal Language, Computer Programming, Character String (Computer Science), Wikt:End-to-End, Concatenation Theory.
References
2021a
- (Wikipedia, 2021) ⇒ https://en.wikipedia.org/wiki/Concatenation Retrieved:2021-2-21.
- In formal language theory and computer programming, string concatenation is the operation of joining character strings end-to-end. For example, the concatenation of "snow" and "ball" is "snowball". In certain formalisations of concatenation theory, also called string theory, string concatenation is a primitive notion.
2021b
- (Wolfram MathWorld) ⇒ https://mathworld.wolfram.com/Concatenation.html Retrieved:2021-2-21.
- QUOTE: The concatenation of two strings $a$ and $b$ is the string $ab$ formed by joining $a$ and $b$. Thus the concatenation of the strings "book" and "case" is the string "bookcase". The concatenation of two strings $a$ and $b$ is often denoted $ab$, $a\parallel b$, or, in the Wolfram Language, $a<>b$. Concatenation is an associative operation, so that the concatenation of three or more strings, for example abc, abcd, etc., is well-defined.