first of all, I've been revieweing previous questions about splitting in java, I 've seen a lot of answers but none of what I've read solve my problem.
I'm trying to split the following string:
String toSplit = "hello@mail.com, \"hel,o\"@mail.info , not,hello@mail.com";
I would like to have ,
using the split function the following result:
hello@mail.com
"hel,o"@mail.info
not,hello@mail.com
as you can see, the , is what makes the differents string, but is also allowed to be included in the string, I've not ben able to find anything to put in the string.split function that works for me... any other solution not using the split function will also be valid
thanks in advance