Does D has C#'s string.Empty?
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Thu Sep 25 17:53:14 PDT 2014
On Fri, 26 Sep 2014 00:24:27 +0000
AsmMan via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:
> It made me a bit confusing. How is the implementation of string
> comparasion in D?
"" has length of 0. null has length of 0. two strings without content
are essentialy the same.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20140926/408b380c/attachment.sig>
More information about the Digitalmars-d-learn
mailing list