Your response looks like JSON,
so for json response in result;
JSONObject lsubObject= new JSONObject(result);
String MaCID =lsubObject.getString("MaCID");
solved Extracting strings out of a String response [duplicate]
Your response looks like JSON,
so for json response in result;
JSONObject lsubObject= new JSONObject(result);
String MaCID =lsubObject.getString("MaCID");
solved Extracting strings out of a String response [duplicate]