tags:

views:

32

answers:

2

how to remove degrre symbol form this URL

NSString s= http://www.com/appfeed/default.php?app=1.31223°|103.865*°**|56a76d

i want to trim that degree symbol( lat and long ) from this string plz help

Thanks

A: 

You can do it using bitly.Click here to get example in which url is trim using bitly api.

Rupeshit
A: 

You should take a look at the NSString documentation.

You can use the stringByReplacingOccurrencesOfString:withString method.

s = [ s stringByReplacingOccurrencesOfString: @"°" withString: @"" ];
Macmade
thanks :-) perfect
ram