at Modifier

Returns the single character at a given position in a string. It starts at zero with the first character.

title: supercalifragilisticexpialidocious
{{ title | at:21 }}
{{ Statamic::modify($title)->at(21) }}
x
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →