Empty string: Difference between revisions

Content deleted Content added
Undid revision 1270149160 by Logoshimpo (talk) you have no idea what you’re talking about
Tags: Undo Reverted
Undid revision 1270215390 by 100.36.106.199 (talk) take it to the talk page
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 (for example,e.g.: 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.