title: Whats the scala way to do this
body: <p>Trying to parse out a request.queryString which returns a Map[String, Seq[String]]</p>
  
  <pre><code>var route = ""
  var queryString = "?"
  for((k,v) &lt;- request.queryString) {
    if(k == "route"){ route = v.head }
    else {
      queryString += k +"="+ v.head +"&amp;"
    }
  }
  queryString = queryString.substring(0, queryString.length() -1 );
  </code></pre>
  
  <p>This works fine but is very imperative.  I'm sure there is a more functional way to do this.  Any help?</p>