If you have a string that you read which you need to convert into a two-dimensional array, then you probably think of dealing with complicated regular expressions.
You start to also think about the edge cases: what if an opening or closing bracket is not included, or what if there is a missing comma, etc.
Continue reading