How to create an array in a for loop in Liquid?
<p>I'm trying to create an array from a list of objects using Liquid syntax:</p>

<pre><code>{% for operation in menuItems %}
      {% assign words1 = operation.Title | split: '_' %}
      {% assign controllerName = words1 | first %}
      {% assign controllersTmp = controllersTmp | append: '_' | append: controllerName %}
{% endfor %}
</code></pre>

<p>I want to split the <code>controllersTmp</code> to get my array, but at this point my <code>controllersTmp</code> is empty.</p>

<p>Any help ?</p>