简单类型 / 字符类型

NSString *str = @"ABC";
char charA = [str characterAtIndex:0];
//charA is "A"
char charB = [str characterAtIndex:1];
//charB is "B"
char charC = [str characterAtIndex:2];
//charC is "C"

NSMutableString *charList = [NSMutableString stringWithCapacity:5];
for (int i = 0; i < str.length; i++) {
    [charList appendFormat:@"%c;", [str characterAtIndex:i]];
}
//charList is "A;B;C;"