<div dir="ltr">Wow, C# is really wierd. They have method <span style="font-size:12.8px">IsNullOrEmpty (OK why not), but they have </span><span style="font-size:12.8px">IsNullOrWhiteSpace OK little akward but still OK until you realized it is more like </span><span style="font-size:12.8px">IsNullOrEmptyOrWhiteSpace :D</span></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 8:11 PM, Nieto via Digitalmars-d-learn <span dir="ltr"><<a href="mailto:digitalmars-d-learn@puremagic.com" target="_blank">digitalmars-d-learn@puremagic.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Does D have an equivalent to C#'s String.IsNullOrWhiteSpace() in the standard library?<br>
just asking if there's a native one, so I don't need reinvente the wheel<br>
<br>
<a href="https://msdn.microsoft.com/en-us/library/system.string.isnullorwhitespace%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396" rel="noreferrer" target="_blank">https://msdn.microsoft.com/en-<wbr>us/library/system.string.isnul<wbr>lorwhitespace%28v=vs.110%29.<wbr>aspx?f=255&MSPPError=-21472173<wbr>96</a><br>
</blockquote></div><br></div>