我有以下形式的输出:
{"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**
应该在数组 Answers 中,如何通过匹配关键字 || 分隔每个值。