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

RSS Icon Subscribe to comments

You need to login to post a comment.