Empty string: Difference between revisions

Content deleted Content added
Formal theory: palindrome
Tags: Mobile edit Mobile web edit Advanced mobile edit
Tag: 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.