NSString(JOEAdditions) Category Reference
Declared in | NSString+JOEAdditions.h |
Tasks
Dividing Strings
-
– joe_stringByRemovingCharactersInSet:
Creates a new string from the receiver by removing any characters in the given set.
Replacing Substrings
-
– joe_stringByReplacingCharactersInSet:withString:
Creates a new string from the receiver by replacing any characters in the given set with the passed in string.
Instance Methods
joe_stringByRemovingCharactersInSet:
Creates a new string from the receiver by removing any characters in the given set.
- (NSString *)joe_stringByRemovingCharactersInSet:(NSCharacterSet *)set
Parameters
- set
The passed in character set.
Return Value
Returns an NSString object.
Declared In
NSString+JOEAdditions.h
joe_stringByReplacingCharactersInSet:withString:
Creates a new string from the receiver by replacing any characters in the given set with the passed in string.
- (NSString *)joe_stringByReplacingCharactersInSet:(NSCharacterSet *)set withString:(NSString *)string
Parameters
- set
The given character set.
- string
The passed in string.
Return Value
Returns an NSString object.
Declared In
NSString+JOEAdditions.h