简单的正则表达式方法字符串替换
摘要:
做法使用 NSMutableString 的replaceOccurrencesOfString方法下面例子,把字符串中的数字都替换做0title=@"test123 test";NSMutableString *mutableStr = [NSMutableString stringWithString:title];[mutableStr replaceOccurrencesOfStrin... 阅读全文
posted @ 2013-03-22 15:49 流れ星ーー 阅读(149) 评论(0) 推荐(0)
浙公网安备 33010602011771号