title: MVC Razor need to get Substring
body: <p>I have the following inside of my view</p>
  
  <pre><code>     @Html.DisplayFor(modelItem =&gt; item.FirstName)
  </code></pre>
  
  <p>I need to get the first initial of the First Name.</p>
  
  <p>I tried </p>
  
  <pre><code>    @Html.DisplayFor(modelItem =&gt; item.FirstName).Substring(1,1) 
  </code></pre>
  
  <p>but it does not seem to work. I get the following error: ..  'System.Web.Mvc.MvcHtmlString' does not contain a definition for 'Substring' and no extension </p>