NSString string trim

January 8, 2011 by · 1 Comment 

- (NSString *) trim
{
	NSString *s = [self stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
	return s;
}

About admin

Comments are closed.