NSString Category from Google's Toolbox for Mac (made into a nice cocoapod)