iOS---字符串替换 //字符串替换 (把中间4位替换为*,从第3位开始,之后4个字符) NSString *phone = [phonestringByReplacingCharactersInRange:NSMakeRange(3,4) withString:@"****"]; # iOS-Foundation 2023-10-29 50 点赞 0 评论 75 浏览