Dear Shopify experts,
I try initialising an array by splitting a string using these two lines of liquid:
{%- assign altlangs0 = “en,nl” -%}
{%- assign altlangs = altlangs0 | split “,” -%}
I can save the snippet, but when I run it I see this error message in the output:
Liquid syntax error (snippets/wk-translate-metafield line 2): Expected end_of_string but found string in “{{altlangs0 | split “,” }}”
I try to follow the example found in the manual over here:
https://shopify.dev/docs/api/liquid/filters/split
What am I doing wrong? Sorry for the newbe question and thanks for the help.
With best regards,
M. Hennekam