PowerShell: String

By Xah Lee. Date: . Last updated: .

What is String

String is a sequence of Unicode characters .

There are 3 syntax to write string literals.

'Single Quoted String'

verbatim.

"Double Quoted String"

interpreted, can embed variable and expressions.

Here-String (aka here-doc)

for quoting large text.

PowerShell, string and regular expression