NSString(TKCategory) Category Reference
Declared in | NSString+TKCategory.h |
Tasks
-
– isEmail
Returns
YES
if a string is a valid email address, otherwiseNO
. -
– URLEncode
Returns a
NSString
that is URL friendly. -
– escapeHTML
Returns a
NSString
that properly replaces HTML specific character sequences. -
– unescapeHTML
Returns a
NSString
that properly formats text for HTML. -
– stringByRemovingHTML
Returns a
NSString
that removes HTML elements. -
– md5sum
Returns an MD5 string of from the given
NSString
. -
– hasString:
Returns
YES
is a string has the substring, otherwiseNO
.
Instance Methods
URLEncode
Returns a NSString
that is URL friendly.
- (NSString *)URLEncode
Return Value
A URL encoded string.
Discussion
Returns a NSString
that is URL friendly.
Declared In
NSString+TKCategory.h
escapeHTML
Returns a NSString
that properly replaces HTML specific character sequences.
- (NSString *)escapeHTML
Return Value
An escaped HTML string.
Discussion
Returns a NSString
that properly replaces HTML specific character sequences.
Declared In
NSString+TKCategory.h
hasString:
Returns YES
is a string has the substring, otherwise NO
.
- (BOOL)hasString:(NSString *)substring
Parameters
- substring
The substring.
Return Value
YES
if the substring is contained in the string, otherwise NO
.
Discussion
Returns YES
is a string has the substring, otherwise NO
.
Declared In
NSString+TKCategory.h
isEmail
Returns YES
if a string is a valid email address, otherwise NO
.
- (BOOL)isEmail
Return Value
True if the string is formatted properly as an email address.
Discussion
Returns YES
if a string is a valid email address, otherwise NO
.
Declared In
NSString+TKCategory.h
md5sum
Returns an MD5 string of from the given NSString
.
- (NSString *)md5sum
Return Value
A MD5 string.
Discussion
Returns an MD5 string of from the given NSString
.
Declared In
NSString+TKCategory.h