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

Jacob Carlborg doob at me.com
Fri Oct 13 06:36:06 UTC 2017


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


More information about the Digitalmars-d-learn mailing list