Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

How to check if a string is null or empty in PowerShell?

$str1 = $null
[string]::IsNullOrEmpty($str1)
Source by itsmycode.com #
 
PREVIOUS NEXT
Tagged: #How #check #string #null #empty
ADD COMMENT
Topic
Name
8+3 =