tags:

views:

22

answers:

0

I have a url in an iphone application to work with.But the problem is that it has some spaces in that. I want to replace the spaces with '%20'.I know that there is stringByReplacingOccurancesOfString methode and stringByAddingPercentEscapesUsingEncoding methode.I also have used them. But they are not working for me. The spaces are replaced by some unusual values.

I'm appling those methodes on NSString type.

Please Help me....

Thanks in advance