I'm writing a script in VBscript and I need to check if a string is empty or has only white-space characters (such as space, tab, newline, ...)
In .Net there is this convenient string.IsNullOrWhiteSpace()
operation to test that, but I can't seem to find an easy equivalent in VBscript.
I know I could loop each character and then compare that to a list of known white-space character, or I could use regular expressions, but I was hoping for a better solution