I have a string
var myString = "['Item', 'Count'],['iPad',2],['Android',1]";
I need to convert it into an array where:
myArray[0][0] = 'Item';
myArray[0][1] = 'Count';
myArray[1][0] = 'iPad';
myArray[1][1] = 2;
etc...
The string can vary in length but will always be in the format above. I have tried splitting and splicing and any other "ing" I can think of but I can't get it.
Can anyone help please?
