http://blog.sina.com.cn/s/blog_542185150100zvsb.html
NSString *string = @" spaces in front and at the end ";
NSString *trimmedString = [string stringByTrimmingCharacte rsInSet:
[NSCharacterSet whitespaceAndNewlineChar acterSet]];
NSLog(trimmedString)
3286

被折叠的 条评论
为什么被折叠?



