/*
第6题 字符串内所有a都替换成A;
*/
NSString *str7=@"whatareyou";
str7=[str7 stringByReplacingOccurrencesOfString:@"a" withString:@"A"];
NSLog(@"第六题: ");
NSLog(@"%@",str7);
/*
第6题 字符串内所有a都替换成A;
*/
NSString *str7=@"whatareyou";
str7=[str7 stringByReplacingOccurrencesOfString:@"a" withString:@"A"];
NSLog(@"第六题: ");
NSLog(@"%@",str7);