Easiest way to parse “querystring” formatted data
Pretty easy… Use the HttpUtility.ParseQueryString method. Untested, but this should work: var qs = “userID=16555&gameID=60&score=4542.122&time=343114”; var parsed = HttpUtility.ParseQueryString(qs); var userId = parsed[“userID”]; // ^^^^^^ Should be “16555”. Note this will be a string of course.