How to keep/get URL strings
Hi there,
I want to keep some recent URLs that I visited as strings (NSString?) which may look like "http://www.google.com", "http://www.google.com/search?q=yahoo", or something like that. With those URL I'm keeping, I wanna go back and forth within web view.
How can I keep URL as a string during the program running??
Moreover, if i get URL like "http://www.google.com/search?q=yahoo", how can I extract only query part (in this case, i wanna extract "yahoo")??
Thanks,
|