Re: Checking for A Blank String
- From: "\(O\)enone" <oenone@xxxxxxxxxxx>
- Date: Fri, 09 Mar 2007 20:42:00 GMT
Herfried K. Wagner [MVP] wrote:
If you want to check if your variable is not 'Nothing' and does not
contain an empty string:
\\\
If Len(s) > 0 Then
...
End If
///
This is my recommended way too. For all the new features and functionality
offered in .NET, I'll still go for good ol' Len() every time.
--
(O)enone
.
- Follow-Ups:
- Re: Checking for A Blank String
- From: Göran Andersson
- Re: Checking for A Blank String
- References:
- Re: Checking for A Blank String
- From: Herfried K. Wagner [MVP]
- Re: Checking for A Blank String
- Prev by Date: print a .jpg image from vb .net
- Next by Date: Re: Creating a temporary file from a bytearray
- Previous by thread: Re: Checking for A Blank String
- Next by thread: Re: Checking for A Blank String
- Index(es):
Relevant Pages
|