IT SOLUTIONS
Your full service technology partner! 
-Collapse +Expand
KB
   ► KB ► > Empty String Check Posts  Print This     

Empty String Check Posts

"Empty String Check" Knowledge Base Posts

More...
  KB Article    

Mike Prestwood
1. ASP Classic Empty String Check (Len(s&vbNullString))

In ASP Classic, you have to add an empty string to the value being compared in order to get consistent results. For example, add &"" to your string varilable or it's code equivalent &vbNullString. Then compare to an empty string or verify it's length to 0 with Len.

Posted to KB Topic: ASP Classic
12 years ago, and updated 11 years ago
(4 Comments , last by Eugene.P )

Code

Article
Nothing New Since Your Last Visit  
45854
Hits

ASP Classic Coding

Mike Prestwood
2. ObjectPAL Empty String Check (isBlank() or not isAssigned())

In ObjectPAL, an empty variable can be unassigned (essentially null) or blank (equivalent to ""). You have to use both isBlank and isAssigned to check for an empty string.

Posted to KB Topic: OPAL: Language Basics
12 years ago, and updated 11 years ago
(11 Comments , last by alice.r )

Code

KB Post
Nothing New Since Your Last Visit
12426
Hits

Corel Paradox / ObjectPAL Coding

Mike Prestwood
3. VB.Net Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

Posted to KB Topic: VB.Net
12 years ago
(3 Comments , last by Dona.D )

Code
Nothing New Since Your Last Visit  
16090
Hits

VB.Net Language

Mike Prestwood
4. Delphi Empty String Check (length(s) = 0)

Length() or SizeOf() will correctly identify an unassigned string variable or an empty string.

Posted to KB Topic: Delphi for Win32
12 years ago
(5 Comments , last by Jeannie.C )

Code
Nothing New Since Your Last Visit
18187
Hits

Pascal and Delphi Coding

Mike Prestwood
5. C++/CLI Empty String Check (String.IsNullOrEmpty)

The .Net framework offers a static method in the string class: String.IsNullOrEmpty.

Posted to KB Topic: C++
12 years ago
(2 Comments , last by Dakota.W )

Code
Nothing New Since Your Last Visit
19832
Hits

C++
More...


Icon Legend:
Since your last logged visit:
- New to you or updated since your last visit (sign in now to activate).
- NOT new to you since your last visit (sign in now to activate).
Go ahead!   Use Us! Call: 916-726-5675  Or visit our new sales site: 
www.prestwood.com


©1995-2021 Prestwood IT Solutions.   [Security & Privacy]