title: In bash, how do I join N parameters together as a space separated string
body: <p>I'm trying to write a function that takes <em>n</em> parameters and joins them into a string.</p>
  
  <p>In Perl it would be</p>
  
  <pre><code>my $string = join(' ', @ARGV);
  </code></pre>
  
  <p>but in bash I don't know how to do it</p>
  
  <pre><code>function()
  {
      ??
  }
  </code></pre>