标签:style ar sp on bs ad as line size
NSString* headerData=@"阿斯达阿萨德按时大大a
大声道
啊实打实";
headerData = [headerData stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; //去除掉首尾的空白字符和换行字符
headerData = [headerDatastringByReplacingOccurrencesOfString:@"\r" withString:@""];
headerData = [headerDatastringByReplacingOccurrencesOfString:@"\n" withString:@""];
标签:style ar sp on bs ad as line size
原文地址:http://blog.csdn.net/qq_16855025/article/details/41700723