Check for Null or empty string in VBScript
May 21, 2012 0 Comments
To check if a string is empty in VBScript, you can use the function Len.
Both message boxes will be shown.
- A String in VBScript can’t be set to Null.
- An unset String in VBScript has a value of "" and contains no characters.
Message box with text "Yes." will be shown.Tags: VBScript