I want to convert this String into an ArrayList
String
["one","two","three"]
I used this method
List<String> logopath = Arrays.asList(pos.split("\\s*,\\s*"));
I get this output from logopath
0 = "["one""
1 = ""two""
2 = ""three"]"
But I want the output of logopath to be like this:
0 = "one"
1 = "two"
2 = "three"