title: Can maximum number of characters be defined in C# format strings like in C printf?
body: <p>Didn't find how to do that. What I found was more or less on the lines of this (<a href="http://blog.stevex.net/string-formatting-in-csharp/" rel="noreferrer">http://blog.stevex.net/string-formatting-in-csharp/</a>):</p>
  
  <p>There really isn’t any formatting within a string, beyond it’s alignment. Alignment works for any argument being printed in a String.Format call.
  Sample  Generates</p>
  
  <pre><code>String.Format(“-&gt;{1,10}&lt;-”, “Hello”);  // gives "-&gt;     Hello&lt;-" (left padded to 10)
  String.Format(“-&gt;{1,-10}&lt;-”, “Hello”); // gives "-&gt;Hello     &lt;-" (right padded to 10)
  </code></pre>