title: Adding single line if statement in string.format
body: <p>Can you set a condition inside the string.format parameter.</p>
  
  <p>So if i have </p>
  
  <pre><code>string.format("{0}" , if x = 7 then return "SEVEN" else return "ZERO")
  </code></pre>
  
  <p>Is there a way of doing this?</p>