PowerShell: Array to String
Operator: -join
# join array items to a single string $x= @( "a", "b", "c" ); ($x -join ";") -eq "a;b;c"
Cast Type to String
# array to string [string] @(1, 2, 3) -eq "1 2 3"
PowerShell: Array
- PowerShell: Array
- PowerShell: Array Sub-Expression Operator @(), Collection to Array
- PowerShell: Array and Types
- PowerShell: Nested Array, Multi-Dimensional Array
- PowerShell: Array, Get Item
- PowerShell: Array, Set Item
- PowerShell: Test If Collection Contains a Value
- PowerShell: Join Array, Append
- PowerShell: Filter Array
- PowerShell: Delete Array, Clear Array
- PowerShell: Array to String
- PowerShell: Array Methods
- PowerShell: Iterate Array