Strings
A finite sequence of elements. Given set , we can construct the set (string over ), consisting of all finite sequences of elements of .
Example
consists of all ordinary words, whether they have meaning or not.
Order
Unlike sets, the order in which the elements in the string is written is important.
Example
Length
The length of a string is the number of elements in , denoted by .
Example
Null String
A string with no elements, denoted by (also called empty string).