I have this code:
String a = "{action= some text, task= some text}, {action= some text2, task= some text2}";
String[] b = a.split("\\{action\\=|\\,|\\}|task\\=");
for( String z : b){
Log.e("eto", z);
}
How do I store the text after "action=" which is some text to String action? same with task?