Re: Checking for A Blank String



Herfried K. Wagner [MVP] wrote:
Trying to avoid the use of VB's intrinsic functions is like trying to use a screwdriver to screw in a nail although there is a hammer in the toolbox for the reason that "a screwdriver is a more professional tool than a hammer."

That would be true if the .NET alternative was significantly less suited for what you are trying to do.

In this case it's actually the opposite. The .NET alternative does exactly what you want to do, while the VB6-like alternative returns a value that has to be analysed to come to the same result.

Re-read my post. I gave a technical reason why I am preferring 'Len' in this particular case.

I have reread your post, and I can find no reason for such a misleading analogy.

--
Göran Andersson
_____
http://www.guffa.com
.



Relevant Pages

  • Re: Download avaible in this year?
    ... If you bought a toolbox and it are missing the ... screwdriver take nevertheless the hammer. ...
    (borland.public.delphi.non-technical)
  • Re: Adding custom ("named") property to e-mail using System.Web.Ma
    ... screwdriver out there and has decided that everyone should use ... V1.0 of their hammer, so obviously it can't be as good as using ... Used to round off bolt heads. ... Used for lowering car to the ground after you have ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Adding custom ("named") property to e-mail using System.Web.Ma
    ... screwdriver out there and has decided that everyone should use ... V1.0 of their hammer, so obviously it can't be as good as using ... Used to round off bolt heads. ... Used for lowering car to the ground after you have ...
    (microsoft.public.win32.programmer.messaging)
  • Re: Women and Hammers
    ... Thus, no hammer thrown. ... they provide a reason for the difference in evolution. ... toward a more horizontal orientation. ... play a more vertical game), offer reasoning why it should change. ...
    (rec.sport.disc)
  • Re: Fair comparision: Reed Solomon code and convolutional code
    ... or a ball-peen hammer? ... "clearly" the screwdriver is the ... Everything is same when I am comparing both the systems, channel, ... the nature of the "burst error" can make a big difference. ...
    (comp.dsp)