Length Modifier
Returns the number of items in an array or characters in a string.
array: - Taylor Swift - Left Shark - Leroy Jenkinsstring: LEEEEROOOYYYY JEEENKINNNSS!
{{ array | length }}{{ string | length }}
{{ Statamic::modify($array)->length() }}{{ Statamic::modify($string)->length() }}
327
Docs Feedback
Submit improvements, related content, or suggestions through Github.
Betterify this page