title: Convert @Html.Raw to string in ASP.NET MVC 4 Razor
body: <p>What I want is to convert the output IHtmlString to String.</p>
  
  <p>I have this code:</p>
  
  <pre><code>string text = @Html.Raw(Model.lastNoticias.Descricao);
  </code></pre>
  
  <p>This code return the error:</p>
  
  <p>Cannot implicitly convert type System.Web.IHtmlString to string.</p>
  
  <p>The full code:</p>
  
  <pre><code>@{ 
      string text = @Html.Raw(Model.lastNoticias.Descricao);
  }
  @if (text.Length &gt; 100)
  {
      @(text.Substring(0, 100) + "... ");
  }
  </code></pre>
  
  <p>How can I do it?</p>