How to do String Display Limitation in C#?
<p>Today I have Learned two things</p>

<p>1 - Displaying int to this format : 0001 in a text box</p>

<blockquote>
  <p>Number.ToString("0000.");</p>
</blockquote>

<p>2 - Displaying double to this format : £ 03.00 in a text box</p>

<blockquote>
  <p>Price.ToString("£ 00.00");</p>
</blockquote>

<p>my questions is: How to display a limitation of string in c#?</p>

<p>I mean is the value in a string is</p>

<pre><code>string myString = "Hello World!"
</code></pre>

<p>I would like it to display 20 letters so it will display </p>

<pre><code>"Hello World!        "
</code></pre>

<p>and if it was more than 20 letters it will skip displaying the rest
for example:</p>

<pre><code>string myString = "I Love every thing you say :*"
</code></pre>

<p>it will only display the following:</p>

<pre><code>"I Love every thing y"
</code></pre>

<p>20 Letters Maximum display (Counting the spaces)..</p>

<p>any idea?</p>
