Does D has C#'s string.Empty?

AsmMan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Thu Sep 25 18:08:59 PDT 2014


On Friday, 26 September 2014 at 00:53:24 UTC, ketmar via 
Digitalmars-d-learn wrote:
> 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.

but null has length? what's null in D?


More information about the Digitalmars-d-learn mailing list