话不多说,上代码: 123 NSString *test=@"2015/11/12;*1-年2+3年月"; NSString *newString = [[test componentsSeparatedByCharactersInSet: [[NSCharacterSet decimalDigitCharacterSet] invertedSet]] componentsJoinedByString:@""]; NSLog(@"%@", newString); 赞微海报分享
近期评论