我有一个输出的形式:Android的字符串操作,字符串中的单独的行
{"status":"07\/09\/201207:16||heythisisatestquestion||AndyesIreallyansweredthisquestiontoo-||07\/09\/201207:10||heythisistestquestion||ThisismyresponsetoyourTESTquestion-yes,Ireallyansweredyou.:-)||07\/09\/201206:29||sos||SOSagain-yes||07\/09\/201206:27||sos||SOSagain-yes||07\/09\/201205:05||test||Yes,respondingtothisTEST-yes,it'sworking","phone":"xxxxxxxxx"}
我想要做的是,我应该得到每个值由||分离在阵列
例如:
**07\/09\/201207:16 .. 07\/09\/201207:10 .. 07\/09\/201206:29** should be in array date
**heythisisatestquestion .. heythisistestquestion .. sos** should be in array question
**AndyesIreallyansweredthisquestiontoo .. ThisismyresponsetoyourTESTquestion .. Ireallyansweredyou**
应该在阵列的答案,我怎样才能通过匹配关键字||每个值分开。
让它工作,thnx很多:D – ZealDeveloper 2012-07-10 06:05:18