NSArray *array = [date componentsSeparatedByCharactersInSet:[[NSCharacterSet characterSetWithCharactersInString:NUMBERS] invertedSet]];
NSMutableString *newDate = [NSMutableString string];
for (NSString *str in array) {
[newDate appendString:str];
}
塞选字符
最新推荐文章于 2024-09-26 16:37:30 发布