convert string to arrat code example
Example 1: java string to char array
String str = "example";
char[] ch = str.toCharArray();
Example 2: convert matrix string to matrix javascript
string = '[[1, 2], [3, 4], [5, 6]]'
string = JSON.parse(string)