join
Combines the items in an array into a single string using the argument as a separator
Input
-
foo_array = [1, 2, 3, 4, 5, 6]
{{ foo_array | join: ' and ' }}
Output
-
1 and 2 and 3 and 4 and 5 and 6
Combines the items in an array into a single string using the argument as a separator
foo_array = [1, 2, 3, 4, 5, 6]
{{ foo_array | join: ' and ' }}
1 and 2 and 3 and 4 and 5 and 6