..
The IsEmpty function, Boolean, returns true if the value passatole takes the special value "Empty" (blank) and False otherwise.
The syntax is as follows:
document.write (IsEmpty ("Luke"))
Returns False.
The "IsEmpty" is frequently used to check if the value is empty or not filtered, then run different routines depending on the result, as in the following:
Dim value
value = "Luke"
If IsEmpty (Value) = False Then
document.write ('AND' empty ')
Else
document.write ("Not yet")
End If
Returns "is not empty."
| |
ASP Zero (Ebook)
Learning Microsoft ASP and VBScript from scratch. At only 29 €. |
| |
Visual Basic 6 (Course)
Make Desktop Applications with VB6. From 39 €. |