Content deleted Content added
m compound modifier |
→Strings and languages: explain "characters"; mention its synonym "symbols" Tag: Reverted |
||
Line 2:
==Strings and languages==
A string is a '''finite''' sequence of undefined objects called ''characters'' or ''symbols'', usually taken to be digits, letters of the alphabet, or similar.
The unique sequence of length 0 is called the [[empty string]]
The concatenation of two string <math>s</math> and <math>t</math> is denoted by <math>s \cdot t</math>, or shorter by <math>s t</math>.
Concatenation of strings is [[associative]]: <math>s \cdot (t \cdot u) = (s \cdot t) \cdot u</math>.
|