title: Angular ngIf check if variable starts with a specified character in component html
body: <p>I currently have this:</p>
  <pre><code>&lt;div *ngIf=&quot;name !== '@name1'&gt;
    Show something
  &lt;/div&gt;
  </code></pre>
  <p>But I would like to change it to check if var name value starts with a specific character for example @.</p>
  <p>How can I do this?</p>