string=[string stringByReplacingOccurrencesOfString:@"-"withString:@"/"];
ios 字符串替换方法
原文:http://www.cnblogs.com/voidcat/p/4971172.html