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.