title: Thymeleaf if on String
body: <p>I would like to display a text (or not) based on its content. For example, if status equals ACCEPTED I would like to display this word, otherwise don't. What I have is:</p>
  
  <pre><code>&lt;td th:if="${trip.tripStatus} == 'ACCEPTED'" th:text="${trip.tripStatus}"&gt;&lt;/td&gt;
  </code></pre>
  
  <p>But it looks like it doesn't work that way.</p>