Content deleted Content added
m Automated conversion |
m -/Talk |
||
Line 3:
The computing term ''string'' is also used in a broader sense to group a sequence of entities; for example, tokens in a language grammar, or a sequence of states in automata. See the theory of [[computation]].
=== Representations ===
A common representation is an [[array]] of characters. The length can be stored implicitly by using a special terminating character (often [[NUL]]) (the programming language [[C language|C]] uses this convention), or explicitly (for example by treating the first byte of the string as its length, a convention used in [[Pascal programming language|Pascal]]).
Line 30:
Many [[UNIX]] utilities perform simple string manipulations and can be used to easily program some powerful string processing algorithms. Files and finite streams may be viewed as strings.
|