NSString* [email protected]"阿斯达阿萨德按时大大a
大声道
啊实打实";
headerData = [headerData stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]]; //去除掉首尾的空白字符和换行字符
headerData = [headerDatastringByReplacingOccurrencesOfString:@"\r" withString:@""];
headerData = [headerDatastringByReplacingOccurrencesOfString:@"\n" withString:@""];
时间: 2024-10-03 15:48:16