# Liquid filters: first, last


* first or last character in a string.
* first or last element in an array, a vector, or a tuple.

{% embed include file="src/examples/liquid/liquid-filters-order/src/main.rs" %}
{% embed include file="src/examples/liquid/liquid-filters-order/out.out" %}


---

* first
* last


