Q:

iPhone: Convert NSString (unicode string) to char array and reverse

I have a unicode string like that @"anh sẽ đến".  Now I want to cut it to a char array, and then I want to join it in one string and show it on the screen.  How can I do that? 
Thanks. 

A:

Because literals are objects, you can use [@"anh sẽ đến" UTF8String] to get it to a char array, and [NSString stringWithUTF8String:] for char to NSString conversions, though to be honest, it would probably be easier to just use +[NSString stringWithFormat:@"anh sẽ đến%c", myUnichar] than to go back and forth between string containers.