PowerTip: Create Empty String with PowerShell

Doctor Scripto

Summary: Learn how to create an empty string by using Windows PowerShell.

Hey, Scripting Guy! Question How can I use Windows PowerShell to create an empty string?

Hey, Scripting Guy! Answer Use the static Empty field from the System.String class:

[string]::Empty

0 comments

Discussion is closed.

Feedback usabilla icon