Removing blank spaces when parsing XML


/ Published in: Objective C
Save to your folder(s)



Copy this code and paste it in your HTML
  1. NSString *stringSpaces = [[[NSString alloc] initWithFormat:@"%@",stringParsed]autorelease];
  2. [stringSpaces stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];

Report this snippet


Comments


You need to login to view comments.