length
Length returns the number of characters in a string or bytes in a byte slice.
Length returns the number of characters in a string or bytes in a byte slice.
Input
string bytes
Parameters
None
Returns
int
Examples
{{ name | length }}
{{ content | length }}How is this guide?