IOS 字符串替换

来源:互联网 发布:淘宝店铺出售价格 编辑:程序博客网 时间:2024/05/23 13:22
给个例子 NSString *str = @"Hello world!";



str =[str stringByReplacingOccurrencesOfString:@"world" withString:@"India"];
原创粉丝点击