Got an XML parser and I like to trim whitespace and new lines before it goes to the app delegate. I’m aware of the fact that it only works with string but how to perform it for the elements inside the object.
Not sure if it is more significant to do this or is it better to do a separate trimming.
Please guide!!
newString =[menu.enable stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceAndNewlineCharacterSet]];
48 weeks 5 days ago