NSString 查找子串可以使用NSRange
[NSString substringWithRange:range];
NSRange
原文:http://www.cnblogs.com/wudizbb/p/3518796.html