//
//  NSString-Addtions.h
//  JasonDevelop
//
//  Created by Jason Lee on 2/17/14.
//  Copyright (c) jasondevelop. All rights reserved.
//
#import <Foundation/Foundation.h>

@interface NSString (Additions)

/**
 Trim을 수행하고 빈 문자열인지 리턴
 @return 빈 문자열 여부
 */
- (BOOL)isEmptyString;
+ (NSString *)stringWithUnsignedChar:(const unsigned char *)chr;
- (NSInteger)countForOccurrencesOfString:(NSString *)occurString;

// Instance Methods
- (NSString *)stringByStrippingTags;
- (NSString *)stringWithNewLinesAsBRs;
- (NSString *)stringByRemovingNewLinesAndWhitespace;
- (NSString *)stringByDecodingHTMLEntities;
- (NSString *)stringByEncodingHTMLEntities;

@end
