Declared in NSString+TKCategory.h

Overview

Additional functionality for NSString.

Tasks

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

stringByRemovingHTML

Returns a NSString that removes HTML elements.

- (NSString *)stringByRemovingHTML

Return Value

Returns a string without the HTML elements.

Discussion

Returns a NSString that removes HTML elements.

Declared In

NSString+TKCategory.h

unescapeHTML

Returns a NSString that properly formats text for HTML.

- (NSString *)unescapeHTML

Return Value

An unescaped HTML string.

Discussion

Returns a NSString that properly formats text for HTML.

Declared In

NSString+TKCategory.h