I am doing push notification application and i am getting device token <8c09362c 82d6b735 c82fb2d9 8070db6f f73419b3 9da15e34 72aba570 6fbf5a45>, I got that device token from NSData, have succesfully converted into NSString, however i only need to remove first and last special character < > from NSString
I am doing push notification application and i am getting device token <8c09362c 82d6b735
Share
There are lots of way to achieve this:
One you can use the way
bigkmshows. SecondEmpty Stackhad suggest a better way too.Here is one other way: