I want to create chat application data is sending properly but when I am getting previous data it comes like
"Tue Nov 27 17:27:12 UTC 2018-CDSL-vxxxxxxxxxxxxxxxxxxx@#Tue Nov 27 17:52:03 UTC 2018-CDSL-dsaaa@#Wed Nov 28 16:38:52 UTC 2018-CDSL-asssss@#Wed Nov 28 18:47:44 UTC 2018-CDSL-dsaaaaaaaaaaa@#Wed Nov 28 18:50:26 UTC 2018-CDSL-asssssssssssssssssss@#Wed Nov 28 18:58:08 UTC 2018-CDSL-asssssssssssssss@#Thu Nov 29 12:47:25 UTC 2018-CDSL-asssssssssssssssssssssssssss sssssssssssssssssssssssss"
its a long string and each chat is dividing by '#' and 'CDSL' is user type after CDSL '-' chat message is present. i want to iterate messages like this. Ant refernce how I split this string and view according to attached image.
Comments
Post a Comment