check empty string in vbscript code example
Example: vbscript check if string is empty
Dim strText = ""
'both of these return true
If Len(strText) = 0 Then
'empty
End If
If strText = "" Then
'empty
End If
Dim strText = ""
'both of these return true
If Len(strText) = 0 Then
'empty
End If
If strText = "" Then
'empty
End If