So I want to split this String
String s = "1,lastname,firstname,"1200,00$",address";
So the split char is ','
The problem now is that 00 is the address because it's splitting at ','
Is there a way how I can get 1200,00 into one.
This is how I split
String[] split = res.split(",");
arrlist.add(new Data(split[0], split[1], split[2], split[3], split[4]))
The result I get looks like this: ID: 1, LastName: lastname, FirstName: firstname, Salary: "1200, Address: 00$