Extracting a single key-value pair from a query string.