Flatten array in PowerShell

后端 未结 3 966
天涯浪人
天涯浪人 2021-02-07 01:29

Assume we have:

$a = @(1, @(2, @(3)))

I would like to flatten $a to get @(1, 2, 3).

I have found one solution

3条回答
提交回复
热议问题