Return to Snippet

Revision: 16381
at August 2, 2009 17:44 by suibhne


Updated Code
street = [street stringByTrimmingCharactersInSet:[NSCharacterSet newlineCharacterSet]];
street = [street stringByReplacingOccurrencesOfString:@" " withString:@"+"];

Revision: 16380
at August 2, 2009 15:46 by suibhne


Initial Code
street = [street stringByTrimmingCharactersInSet:[NSCharacterSet newlineCharacterSet]];

Initial URL


Initial Description
Just replace a character within a string (e.g. carriage returns).

Initial Title
Character Replace In String

Initial Tags
iphone

Initial Language
Objective C