I want to output a formatted string to the console. I have one string variable and one string array variable.
When I do this:
$arr = "aaa","bbb"
"test {0} + {1}" -f "first",$arr
Conclusion:
test first + System.Object[]
But I need a conclusion:
test first + aaa,bbb
Or something similar...
jumbo source
share