I have a string of an array of arrays,and i need to split this string into an array of arrays.
array = "[['<1>', 'likes'], ['<2>', 'reads'], ['<3>', "doesn't have"]]"
this what i’ve tried so far
array.split(",")
I had this result:
['<1>', 'likes',''<2>','reads' ...]
But this is the wanted result:
[['<1>','likes'], ['<2>', 'reads'],['<3>', "doesn't have"]]