Extracts a parameter string from a query string formatted string.
The value of the named parameter.
If the name was not found, blank is returned.
string parameters = "print=1&target=/sitecore/content/home&test=false";
string print = StringUtil.ExtractParameter("print", parameters); // "1"
string target = StringUtil.ExtractParameter("target", parameters); // "/sitecore/content/home"
string dummy = StringUtil.ExtractParameter("dummy", parameters); // ""
StringUtil Class | Sitecore Namespace