If I were in the mood for strictness I'd probably return an error, but I think returning "Single element array, zero length string" would be most streamlined considering what I usually do with strings ...
Here's how to make your data more useful -- or even just more presentable -- using the Join and Split operators and the Split method. With PowerShell, there are many ways to work with data. In this ...
Results that may be inaccessible to you are currently showing.
Hide inaccessible results