title: Is there a way to pass String.format to thymeleaf template?
body: <p>I am building thymeleaf template and I must pass to it some String with parameters, like <code>The value equals %s</code>. The thing is that a message can be any so I can not just set Message/Externalizing text in my <code>thymeleaf.properties</code>.</p>
  
  <p>I have tried something like this </p>
  
  <pre><code>    &lt;td th:text="#{(${myObject.stringFormatMessage})(${myObject.param})}"&gt;&lt;/td&gt;
  </code></pre>
  
  <p>But it ends up with <code>??The value equals %s_eng_ENG??</code>. 
  I also changed <code>%s</code> to <code>{0}</code> but the result is almost the same. 
  I can not parse this string before passing to my template because <code>myObject.param</code> has to be bold/colored.
  Is there any way to do it - pass String.format instead of setting externalized text in my <code>.properties</code>?</p>