NSString删除换行符号
str = [str stringByReplacingOccurrencesOfString:@"\n"withString:@""];
str = [str stringByReplacingOccurrencesOfString:@"\r" withString:@""];
str = [str stringByReplacingOccurrencesOfString:@"\n"withString:@""];
str = [str stringByReplacingOccurrencesOfString:@"\r" withString:@""];