Dear all:
I want to compare a NSString ( I get this NSString from [NSData description]
@"<55a1b2c3 aa>" this is supposed to be read from my serial device;
but sometimes the computer will return @"<a1b2c3aa 55>"
How do I quickly swap it as the original format @"<55a1b2c3 aa>"
I have looked up the Apple Developer Reference but it seems there is no such swapping methods.. do I miss something?
Any replies will be highly appreciated. Thank you guys.
I want to compare a NSString ( I get this NSString from [NSData description]
@"<55a1b2c3 aa>" this is supposed to be read from my serial device;
but sometimes the computer will return @"<a1b2c3aa 55>"
How do I quickly swap it as the original format @"<55a1b2c3 aa>"
I have looked up the Apple Developer Reference but it seems there is no such swapping methods.. do I miss something?
Any replies will be highly appreciated. Thank you guys.