Radical Design Course by Jack McDade

From the creator of Statamic

Learn how to make your websites standout and be remembered.

For a software dev like me who has no idea how to create a cute hand-drawn dashed line, this course just 100% works.

— Ira Zayats, Developer

last Modifier

Returns the last X characters of a string, where X is any positive integer, or the last item in an array.

title: 2015 Denver Nuggets
array:
- Sonic
- Knuckles
- Tails
{{ title | last(7) }}
{{ array | last }}
{{ Statamic::modify($title)->last(7) }}
{{ Statamic::modify($array)->last() }}
Nuggets
Tails
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →