String to Multidimensional Arrays
<p>I have a string which represents a multidimensional array in the format: [[A, a], [B, b]] </p>

<p>Is there a easy way to convert this string into multidimensional arrays. </p>

<p>Though, for now I am just looking for the above solution the string itself is bit more complicated.</p>

<p>for example in [[A, a], [B, b]] </p>

<pre><code>where A could be "This is a sample text, but could be complicated"  

There is a high possibility that the delimiter comma exists in the text (which will be escaped)
</code></pre>

<p>Thanks, for any suggestions.</p>
