What is null safe way to convert array to string using Thymeleaf
<p>I'm trying to convert String array to String using Thymeleaf.</p>

<pre><code>th:value="${#strings.arrayJoin(result.param.searchCondition.mstoneIds, ',')}"
</code></pre>

<p>The problem, that if my array is null I get an exception. Are there any null safe ways to convert Array to String?
Thanks.</p>