I am having following NSString: 8270be11a217f1420863d76ea7d24820
and i want to convert in following format: NSData : <8270be11 a217f142 0863d76e a7d24820>
Please help!
Thanks
I am having following NSString: 8270be11a217f1420863d76ea7d24820
and i want to convert in following format: NSData : <8270be11 a217f142 0863d76e a7d24820>
Please help!
Thanks
 
    
    Try to do this..
   NSString* str = @"teststring";
   NSData* data = [str dataUsingEncoding:NSUTF8StringEncoding];
