Skip to content

Instantly share code, notes, and snippets.

@5up3rman
Created September 13, 2017 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 5up3rman/50c8e3480055e666eac3b64285a88eb6 to your computer and use it in GitHub Desktop.
Save 5up3rman/50c8e3480055e666eac3b64285a88eb6 to your computer and use it in GitHub Desktop.
Web Utility Parse Query String
var values = WebUtil.ParseQueryString("print=1&target=me&group=first");
var s0 = values["print"]; // "1";
var s1 = values["target"]; // "me";
var s2 = values["group"]; // "first";
var s3 = values["non-existing"]; // null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment