Java split a string into ArrayList
There are many encoding formats that could lead to this string. One of them is JSON. So instead of writing the splitting code yourself, you should use one of the many existing JSON parsers. Have a look at the awesome-java project at GitHub to find one.

Then, your code should become as simple as:

JSONArray sampleList = JSON.parseArray(sample);