Checking if a string is null

Derek Parnell derek at psych.ward
Fri Jul 27 17:52:33 PDT 2007


On Sat, 28 Jul 2007 00:06:17 +0000 (UTC), Manfred Nowak wrote:

> Frits van Bommel wrote
> 
>> There's just some disagreement 
>> on what should be considered an "empty string"
> 
> If your secretary opens an envelope adressed to you, but the envelope 
> has not a single sheet of paper in it: what would you expect your 
> secretry to do?
>  
> 1) forward that envelope unmodified to you

Yes

> 2) as above, but fill the envelope with an empty sheet of paper first
> 
> 3) something completely different
> 
> After solving this for yourself, what would you do in the above case if 
> you are my secretary?

Resign!

-- 
Derek Parnell
Melbourne, Australia
skype: derek.j.parnell



More information about the Digitalmars-d mailing list