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 *)setParameters
- set
The passed in character set.
Return Value
Returns an NSString object.
Declared In
NSString+JOEAdditions.hjoe_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 *)stringParameters
- set
The given character set.
- string
The passed in string.
Return Value
Returns an NSString object.
Declared In
NSString+JOEAdditions.h