[thelist] Testing for the various NULL's

Tab Alleman Tab.Alleman at MetroGuide.com
Thu Dec 5 14:01:11 CST 2002


The simple way I've always done this in ASP is to check the length of
the string.

IF Len(TheString) < 1 THEN  --will test true for both "" and NULL.

HTH

-----Original Message-----
From: Joel Canfield [mailto:joel at spinhead.com]
Sent: Thursday, December 05, 2002 11:44 AM

If it's possible to have either NULL or an empty string, check for both.




More information about the thelist mailing list