v10.13.0
Convert an array into a sentence. Useful for listing tags. Optional argument for connector.
Input
{{ "foo,bar,baz" | split: "," | array_to_sentence_string }}
Output
foo, bar, and baz
Input
{{ "foo,bar,baz" | split: "," | array_to_sentence_string: "or" }}
Output
foo, bar, or baz