Does D have an equivalent to C#'s String.IsNullOrWhiteSpace?

Daniel Kozak kozzi11 at gmail.com
Thu Oct 12 19:42:41 UTC 2017


Wow, C# is really wierd. They have method IsNullOrEmpty (OK why not), but
they have IsNullOrWhiteSpace OK little akward but still OK until you
realized it is more like IsNullOrEmptyOrWhiteSpace :D

On Thu, Oct 12, 2017 at 8:11 PM, Nieto via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

> Does D have an equivalent to C#'s String.IsNullOrWhiteSpace() in the
> standard library?
> just asking if there's a native one, so I don't need reinvente the wheel
>
> https://msdn.microsoft.com/en-us/library/system.string.isnul
> lorwhitespace%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20171012/277539ed/attachment.html>


More information about the Digitalmars-d-learn mailing list