Plain Text Length Conditional Wondering how to write a conditional that was dependent on the length of a plain text field within a matrix field. I  have something like:

{% for block in entry.pricing %}
    &lt;li&gt;{% if block.destination|length &gt; 25 %}TEST{% endif %}{{ block.smallCost }}&lt;/li&gt;
{% endfor %}


Where I’m trying to add TEST if the length of the string of block.destination is more than 25.
Turns out it needs the space in the conditional either side of the vertical bar so the code should’ve been:                 

&lt;li&gt;{% if block.destination | length &gt; 25 %}&lt;br /&gt;{% endif %} {{ block.smallCost }}&lt;/li&gt;