ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾VBScript£¾VBScript


objects constants operators statements functions properties methods






FUNCTION:  IsEmpty( )

IsEmpty(variant)

The IsEmpty function returns True when passed a Variant that has been declared but not initialized. It returns False in all other cases.

Code:
<% =IsEmpty(notbeen) %>

Output:
True

Code:
<% =IsEmpty("This is a string.") %>

Output:
False