Empty string: Difference between revisions

Content deleted Content added
m {{anchor|nullable symbol}}Formal theory: removed incorrect link; "length" here does not refer to physical distance
m Formal theory: Substituted anchor per MOS:SECTIONANCHOR
Line 4:
In [[formal language theory]], the '''empty string''', or '''empty word''', is the unique [[String (computer science)|string]] of length zero.
 
=={{Formal theory<span class="anchor|" id="nullable symbol}}Formal theory"></span>==
Formally, a string is a finite, ordered sequence of [[character (symbol)|characters]] such as letters, digits or spaces. The empty string is the special case where the sequence has length zero, so there are no symbols in the string.
There is only one empty string, because two strings are only different if they have different lengths or a different sequence of symbols.