I have a string which represents a multidimensional array in the format: [[A, a], [B, b]]
Is there a easy way to convert this string into multidimensional arrays.
Though, for now I am just looking for the above solution the string itself is bit more complicated.
for example in [[A, a], [B, b]]
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)
Thanks, for any suggestions.