/ Published in: Objective C
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
NSString *theStringTrimmed = [theString stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet]];