NSArray倒序

NSArray倒序

NSArray *tmparr = [[upLoadImageArr reverseObjectEnumerator] allObjects];
ios 正则表达式替换

. 不可变字符串   (content 是不可变)
NSRegularExpression *regularExpression = [NSRegularExpression regularExpressionWithPattern:
@"<(/{0,})div(.{0,})>" options: error:nil];
content = [regularExpression stringByReplacingMatchesInString:content options: range:NSMakeRange(, content.length) withTemplate:@""]; . 可变字符串 (content 是可变)
[regularExpression replaceMatchesInString:content options: range:NSMakeRange(, content.length) withTemplate:@""];
上一篇:Ambari安装之Ambari安装前准备(CentOS6.5)(一)


下一篇:jq 7种实例化