iOS 去掉字符串中的空格

stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]]

你可能感兴趣的:(iOS 去掉字符串中的空格)