原文:iOS 获取字符串中的所有数字

NSString str 年 NSCharacterSet nonDigitCharacterSet NSCharacterSet decimalDigitCharacterSet invertedSet 获取字符串中的数字 str str componentsSeparatedByCharactersInSet:nonDigitCharacterSet componentsJoinedByStr ...

2018-10-31 18:03 0 1234 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM