String detailSub1="",detailSub2="",detailConvert = "";
int pos_1 = 0,pos_2 = 0;
int i = 0;
while(true)
{
pos_1 = detail.indexOf("= 0)
{
detailSub1 = detail.substring(0,(pos_1));
pos_2 = detail.indexOf("");
detailSub2 = detail.substring(pos_1,pos_2+1);
/* if (pos_2 = 0)
{
detailSub2 = detail.substring(pos_1,pos_2+1);
detail = detail.substring(pos_2+1);
}
else
{
detailSub2 =detail.substring(pos_1);
detail="";
}
*/
detail = detail.substring(pos_2+1);
detailConvert += detailSub1 + detailSub2;
}
else
{
detailConvert += detail;
break;
}
//i 检查会不会出现死循环
if(i++ 100)
{
break;
}
}
detail = detailConvert;// + detail;