brgdotnet
asked on
how to check if a string is null or empty in VB .net
In VB .net how can I check a string to see if it is null or empty? I have a class object with a string property.
is this correct?
If (myObject.Str IsNot String.IsNullOrEmpty) Then
' Do something
End If
is this correct?
If (myObject.Str IsNot String.IsNullOrEmpty) Then
' Do something
End If
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.