I need to replace "CurrentLocation" with a value in following URL. "CurrentLocation" is a predefined string and it gives a dynamic value (I mean different name of location/city each time). I need help, How to do it in Objective-C ??
NSURL *MainURL = [NSURL URLWithString:@"http://news.google.com/news?q=location:CurrentLocation&output=rss"];
In JavaScript i would do something like this;
var a="Google"; var b=".com"; var c=".np"; var d=a+b+c; document.write(d);
Please somebody help me with this. Thanks!!