NSString *newStr =@"sdfdfs15dfdfdf15fdfdow们啊as阿达阿达打啊";
NSString *temp =nil;
for(int i =0; i < [newStr length]; i++)
{
temp = [newStr substringWithRange:NSMakeRange(i,1)];
NSLog(@"第%d个字是:%@",i,temp);
}
NSString *newStr =@"sdfdfs15dfdfdf15fdfdow们啊as阿达阿达打啊";
NSString *temp =nil;
for(int i =0; i < [newStr length]; i++)
{
temp = [newStr substringWithRange:NSMakeRange(i,1)];
NSLog(@"第%d个字是:%@",i,temp);
}