Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Reply To: If Statement Help

$
0
0

can avoid having problems with this distinction by using the String.IsNullOrEmpty method:if ([String]::IsNullOrEmpty($someVariable)) { }

Thanks for the feedback. I appreciate the help.


Viewing all articles
Browse latest Browse all 13067

Trending Articles