title: How to split string in Thymeleaf
body: <p>I have imageNames like <code>wange/25011.jpg|wange/25011-1.jpg</code> or null, I want to split them to <code>wange/25011.jpg</code> and <code>wange/25011-1.jpg</code>, or no split if null. I tried code as below, but no work...</p>
  
  <pre><code>&lt;td th:if="${brickset.imageNames} != null"  th:each="image : ${#strings.arraySplit(brickset.imageNames, '|')}"&gt;
      &lt;a href="#" th:href="${imageBaseUrl + image}"&gt;
          &lt;img src="#" th:src="${imageBaseUrl + image}" height="64"/&gt;
      &lt;/a&gt;
  &lt;/td&gt; 
  </code></pre>