Skip to content

mightyleader/spinner-pilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

spinner-pilot

A simple NSString category for removing HTML and XML entities.

I just wanted to remove a bunch of & and ‘ from some content in a JSON feed. All the answers on how to do it looked like they didn't handle all the cases. So I made this NSString category.

Basically it's a single class method:

+ (NSString *)stringByStrippingMarkupEntitiesFromString:(NSString *)string;

Enjoy.

About

A simple NSString category for removing HTML and XML entities.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published