vbscript check if string is empty

The solution for “vbscript check if string is empty” can be found here. The following code will assist you in solving the problem.

Dim strText = “”

‘both of these return true
If Len(strText) = 0 Then
’empty
End If

If strText = “” Then
’empty
End If

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

Similar Posts