first Modifier

Returns the first X characters of a string, where X is any positive integer.

title: 2015 Year Books Photos
{{ title | first:4 }}
2015
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →