stencilproject/Stencil

How can I access item of an array?

amadeu01 opened this issue · 2 comments

Like:

{{ function.name | split:"("  }}

I would like to be able to access the first item of the split result. How can I do this?

did you find solution? I am searching how to get last element it gives me string
{% set assetLanguage %}{{}}asset.name|split: "-"}}{% endset %}

@michzio I haven't found a solution, and you?