NSString* str = @\"1二3四5\"; NSLog(@\"%c\",[str characterAtIndex:0]); NSLog(@\"%c\",[str characterAtIndex:1]);
NSString - characterAtIndex works we
You'd use the more verbose methods:
NSRange rangeOfSecondCharacter = [str rangeOfComposedCharacterSequenceAtIndex:1];
NSString *secondCharacter = [str substringWithRange:rangeOfSecondCharacter];
...with proper bounds and range checking, of course. Note that this gives you an NSString, an object, not a unichar
or some other primitive data type.