NSString *str = @"139-8980-9340";
str = [strlstringByReplacingOccurrencesOfString:@"-"withString:@""];
NSLog(@"%@",str);
结果为:13989809340
NSString *str = @"139-8980-9340";
str = [strlstringByReplacingOccurrencesOfString:@"-"withString:@""];
NSLog(@"%@",str);
结果为:13989809340