title: Replace end of string with dots if word is longer then X
body: <p>How can I format a string in a Razor CSHTML page if it's longer then X caracters:</p>
  
  <pre><code>&lt;p&gt;@Model.Council&lt;/p&gt; 
  
  Example for an X = 9
  
  -&gt; if Council is "Lisbon", then the result is "&lt;p&gt;Lisbon&lt;/p&gt;"
  -&gt; if Council is "Vila Real de Santo António", then the result is "&lt;p&gt;Vila Real...&lt;/p&gt;" with the title over the &lt;p&gt; "Vila Real de Santo António" showing the complete information
  </code></pre>
  
  <p>Thanks.</p>