I am reading from history, and I want that when i come across a google query, I can extract the query string. I am not using request or httputility since i am simply parsing
Why don't you create a code which returns the string from the q= onwards till the next &?
q=
&
For example:
string s = historyString.Substring(url.IndexOf("q=")); int newIndex = s.IndexOf("&"); string newString = s.Substring(0, newIndex);
string s = historyString.Substring(url.IndexOf("q="));
int newIndex = s.IndexOf("&");
string newString = s.Substring(0, newIndex);
Cheers