2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
4
Task/Empty-string/PowerShell/empty-string-1.psh
Normal file
4
Task/Empty-string/PowerShell/empty-string-1.psh
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[string]$alpha = "abcdefghijklmnopqrstuvwxyz"
|
||||
[string]$empty = ""
|
||||
# or...
|
||||
[string]$empty = [String]::Empty
|
||||
2
Task/Empty-string/PowerShell/empty-string-2.psh
Normal file
2
Task/Empty-string/PowerShell/empty-string-2.psh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[String]::IsNullOrEmpty($alpha)
|
||||
[String]::IsNullOrEmpty($empty)
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
[string]::IsNullOrEmpty("")
|
||||
[string]::IsNullOrEmpty("a")
|
||||
Loading…
Add table
Add a link
Reference in a new issue