title: Lua spread operator on an array
body: <p>Does lua have a spread operator when you are passing a variable to a function?</p>
  
  <p>For example, I have an array <code>a</code> and I want to pass this to another function, say <code>string.format</code>. If I just do <code>string.format(a)</code> then I get </p>
  
  <pre><code>bad argument #1 to 'format' (string expected, got table)
  </code></pre>
  
  <p>I tried <code>local f, e = pcall(string.format, t)</code> without any luck.</p>