I have a String like this : String attributes = \" foo boo, faa baa, fii bii,\" I want to get a result like this :
String attributes = \" foo boo, faa baa, fii bii,\"
String[] result = {\"foo boo\
String result[] = attributes.trim().split("\\s*,[,\\s]*");
previously posted here: https://blog.oio.de/2012/08/23/split-comma-separated-strings-in-java/