谁能告诉我为什么这会导致 EXC_BAD_ADDRESS 错误?
int startIndex = NSRangeFromString(current).location + NSRangeFromString(current).length;
NSLog(@"%d", NSRangeFromString(current).location + NSRangeFromString(current).length);
NSLog(@"%@", startIndex);
任何引用 startIndex 都会导致错误
第二行打印 6,所以 startIndex 应该打印 6?