码迷,mamicode.com
首页 > 其他好文 > 详细

NSCharacterSet

时间:2014-07-13 14:52:07      阅读:141      评论:0      收藏:0      [点我收藏+]

标签:nscharacterset

NSCharacterSet

inherits from: NSObject

Conforms to: NSObject, NSCoding, NSMutableCopying, NSCopying

  

    Class Methods:

whitespaceCharacterSet

Returns a character set containing only the in-line whitespace characters space (U+0020) and tab (U+0009)

+ (id)whitespaceCharacterSet

e.g.

    NSString * str;

    NSString *trimmedStr;

    trimmedStr = [str stringByTrimmingCharactersInset:[NSCharacterSet whitespaceCharacterSet]];

    


NSCharacterSet,布布扣,bubuko.com

NSCharacterSet

标签:nscharacterset

原文地址:http://zhangjiansong0.blog.51cto.com/6283606/1437367

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!