2013年3月22日

简单的正则表达式方法字符串替换

摘要: 做法使用 NSMutableString 的replaceOccurrencesOfString方法下面例子,把字符串中的数字都替换做0title=@"test123 test";NSMutableString *mutableStr = [NSMutableString stringWithString:title];[mutableStr replaceOccurrencesOfStrin... 阅读全文

posted @ 2013-03-22 15:49 流れ星ーー 阅读(143) 评论(0) 推荐(0) 编辑

导航