Add method to NSString category.