
#import <Foundation/NSString.h>

@interface NSString (MiscTrimming)

/*" Trimming white spaces "*/
- (NSString *)stringByTrimmingLeadWhiteSpaces;
- (NSString *)stringByTrimmingTailWhiteSpaces;
- (NSString *)stringByTrimmingWhiteSpaces;

/*" Trimming spaces "*/
- (NSString *)stringByTrimmingLeadSpaces;
- (NSString *)stringByTrimmingTailSpaces;
- (NSString *)stringByTrimmingSpaces;

@end

@interface NSMutableString (MiscMutableTrimming)

/*" Trimming spaces "*/
- (void) trimLeadSpaces;
- (void) trimTailSpaces;
- (void) trimSpaces;

@end
