Empty string

Wikipedia, the free encyclopedia - Cite This Source

In computer science and formal language theory, the empty string is the unique string of length zero. It is denoted with ϵ or e.

Properties

When present in a formal language, empty strings have several properties:

These properties may hold in some programming languages, but this is left up to the particular implementation.

Representations

Programming language ϵ representation
C, C++ {''}
Perl "" qw()
Python "" str()

See also



Wikipedia, the free encyclopedia © 2001-2006 Wikipedia contributors (Disclaimer)
This article is licensed under the GNU Free Documentation License.
Last updated on Wednesday March 12, 2008 at 17:44:56 PDT (GMT -0700)
View this article at Wikipedia.org - Edit this article at Wikipedia.org - Donate to the Wikimedia Foundation