This is my Result where i got response from server that I want to get by Soap.I can parse this value by JSON but I'm having a problem doing so as I wish to get this value split.
Result=1~Saved successfully~{ "TABLE":[{ "ROW":[ { "COL":{ "UserID":"30068"}} ]}]}
I am using this code to get UserId
values in tmpVal
, however am not obtaining my desired results.
String tmpVal = returnValue.toString().split("~")[3];