I have a String with many commas for example:
1,2,3,4,5,"one, two", 6, 7, "three, four", 8, 9
I want to split this string by comma(,) but parts with quotes shouldn't be splitted. Is there a simple way to do this or should I prepare this string for example replace comma with something else:
1,2,3,4,5,"one#COMMA# two", 6, 7, "three#COMMA# four", 8, 9
and then split by comma(,)