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
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
You can do it using bitly.Click here to get example in which url is trim using bitly api.
You should take a look at the NSString documentation.
You can use the stringByReplacingOccurrencesOfString:withString
method.
s = [ s stringByReplacingOccurrencesOfString: @"°" withString: @"" ];