shift

Removes the first element of an array (shifting all other elements down by one). Returns array with remaining elements. If an integer is passed as argument, this amount of elements will be removed.

Input:

{{ "John, Paul, George, Ringo" | split: ", " | shift | join: ", " }}

Output:

"Paul, George, Ringo"

Input:

{{ "John, Paul, George, Ringo" | split: ", " | shift: 2 | join: ", " }}

Output: