This is NSString+Trimming.h in view mode; [Download] [Up]
#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
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.