title: How do I format a string with string interpolation in Scala as a fixed width string?
body: <p>I'm interfacing with a really old system and the file I need to generate needs a field that is a formed from a string but needs to be exactly 15 in width.</p>
  
  <p>I want something like this:</p>
  
  <pre><code>val companyName = "FooBar, Inc" // 11 chars
  f"$companyName%s"
  </code></pre>
  
  <p>To return:</p>
  
  <pre><code>"    FooBar, Inc"
  </code></pre>
  
  <p>Is there a slick way to do what I'm trying to do with the String interpolation?</p>