Empty string: Difference between revisions

Content deleted Content added
m Reverted edits by 49.37.137.95 (talk) to last version by Logoshimpo: nonconstructive edits
Undid revision 1234196193 by Logoshimpo (talk)
Tags: Undo Reverted
Line 21:
 
==Use in programming languages==
In most [[programming language]]s, strings are a [[data type]]. Strings are typically stored at distinct [[memory address]]es (locations). Thus, the same string (e.g.:for example, the empty string) may be stored in two or more places in memory.
 
In this way, there could be multiple empty strings in memory, in contrast with the formal theory definition, for which there is only one possible empty string. However, a string comparison function would indicate that all of these empty strings are equal to each other.