thymeleaf concatenate string space code example Example: theme leaf concatenate <p th:text="${bean.field + '!' + bean.field}">Static content</p>