This is an excellent question. Zero-length arrays, also known as flexible arrays, are used to implement variable-length arrays, primarily in structures. That's a little confusing, so let's look at an ...
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 ...
String variables look like value types, those variables holding integers and dates. But, under the hood, strings are more like reference types, those variables that point to objects. This means that ...