v10.11.0
Shift an element from the array. It’s NON-DESTRUCTIVE, i.e. it does not mutate the array, but rather make a copy and mutate that.
Input
1 | {% assign fruits = "apples, oranges, peaches" | split: ", " %} |
Output
1 | - oranges |
v10.11.0
Shift an element from the array. It’s NON-DESTRUCTIVE, i.e. it does not mutate the array, but rather make a copy and mutate that.
Input
1 | {% assign fruits = "apples, oranges, peaches" | split: ", " %} |
Output
1 | - oranges |