Interested in sponsoring this lovely little spot?

length Modifier

Returns the number of items in an array or characters in a string.

array:
- Taylor Swift
- Left Shark
- Leroy Jenkins
string: LEEEEROOOYYYY JEEENKINNNSS!
{{ array | length }}
{{ string | length }}
3
27
Docs feedback

Submit improvements, related content, or suggestions through Github.

Betterify this page →