Converting & to & in Objective-C
escaping, html-entities, iphone, objective-c
Solution
[urlString stringByReplacingOccurrencesOfString:@"&" withString:@"&"];
Problem
I have a URL string in the following format. `http://myserver.com/_layouts/feed.aspx?xsl=4&web=%2F&page=dda3fd10-c776-4d69-8c55-2f1c74b343e2&wp=476f174a-82df-4611-a3df-e13255d97533` I want to replace `&` with `&` in the above URL. My result should be: `http://myserver.com/_layouts/feed.aspx?xsl=4&web=%2F&page=dda3fd10-c776-4d69-8c55-2f1c74b343e2&wp=476f174a-82df-4611-a3df-e13255d97533` Can someone post me the code to get this done? Thanks