title: Convert array to space-delimited string, while joining individual values
body: <p>I have a multiple <code>select</code> box on my page. I can get the values of all the selected child <code>option</code>s in jQuery easily like this:</p>
  
  <pre><code>$("#select").val();
  </code></pre>
  
  <p>That gives me an array like this:</p>
  
  <pre><code>["Hello", "Test", "Multiple Words"]
  </code></pre>
  
  <p>Now, I want to convert this array into a space-delimited string, but <em>also</em> join the individual words in each value with a dash, so that I end up with this:</p>
  
  <pre><code>"Hello Test Multiple-Words"
  </code></pre>
  
  <p>How would I go about doing that?</p>