Location: PHPKode > projects > SithTemplate > SithTemplate-1.1/docs/examples/stdlib/01_filter_length_length_is.html
{# var1 = "foo", var2 = array('a', 'b') #}

{{ var1|length }}                                       {# => 3 #}
{% if var2|length_is:3 %} yes {% else %} no {% endif %} {# => no #}
Return current item: SithTemplate