iOS 过滤空格
//过滤空格NSString * urlStr = @" A as dd dmm ";NSLog(@"urlStr = %@",urlStr);//过滤字符串前后的空格urlStr = [urlStr stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];NSLog(@"urlStr = %@",urlStr);//过滤中间空格urlStr = [urlStr stringByReplacingOccurrencesOfString:@" " withString:@""];NSLog(@"urlStr = %@",urlStr);
补充:移动开发 , IOS ,