Looking for a simple way to truncate a string in c#
<p>I used the following:</p>

<pre><code>t.Description.Substring(0, 20)
</code></pre>

<p>But there is a problem if there are less than 20 characters in the string. Is there a simple way (single inline function) that I could use to truncate to a maximum without getting errors when the string is less than 20 characters?</p>
