title: Substring interpolation
body: <p>Is it possible to do a string interpolation formatting a substring of a string?</p>
  
  <p>I have been searching the Microsoft documents about string interpolation but cannot get a working sample done. <a href="https://docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting#format-string-component" rel="nofollow noreferrer">reference</a>.</p>
  
  <p>Currently I have :</p>
  
  <pre><code>var description = "the quick brown fox";
  var result = $"{description.Substring(0, description.Length &lt; 10 ? description.Length : 10)} jumps..",
  </code></pre>
  
  <p>using string interpolation I would ideally like to use:</p>
  
  <pre><code>var description = "the quick brown fox";
  var result = $"{description:10} jumps..",
  </code></pre>
  
  <p><strong>editted</strong></p>
  
  <p>I would expect the output of result to be :</p>
  
  <pre><code>The quick  jumps..
  </code></pre>