Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果我有字符串值,a它应该显示为65,如果它b应该显示 ASCII 等价物66,所以请任何人帮忙!!!!
a
65
b
66
NSString *string = @"A"; int asc = [string characterAtIndex:0];