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

Daniel Kozak kozzi11 at gmail.com
Fri Oct 13 07:49:12 UTC 2017


Yes I beleive it is neat functionality. I just dont like those names :)

On Fri, Oct 13, 2017 at 8:36 AM, Jacob Carlborg via Digitalmars-d-learn <
digitalmars-d-learn at puremagic.com> wrote:

> On 2017-10-12 21:42, Daniel Kozak wrote:
>
>> 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
>>
>
> It's pretty neat functionality. Ruby has it (or rather Rails), it's called
> "blank?".
>
> --
> /Jacob Carlborg
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20171013/b19672ad/attachment.html>


More information about the Digitalmars-d-learn mailing list