通过某一个符号截取字符串

 NSArray<NSString*> *senderArray = [[NSString stringWithFormat:@"%@",URL] componentsSeparatedByString:@"_"];

原文地址:https://www.cnblogs.com/huoran1120/p/5660479.html