URL Encode A String NSString *UrlEncodedString = MyStringToEncode stringByAddingPercentEscapesUsingEncoding:NSASCIIStringEncoding];