Monday, May 17, 2010

Trim String

str = [str stringByTrimmingCharactersInSet:[NSCharacterSet whitespaceCharacterSet]];

No comments:

Post a Comment