last

Returns the last item of an array.

Input


{% assign my_array = "apples, oranges, peaches, plums" | split: ", " %}

{{ my_array.last }}

Output



plums

Input


{% assign my_array = "zebra, octopus, giraffe, tiger" | split: ", " %}

{{ my_array.last }}

Output



tiger