Returns the number of words in a given string.
string: There are probably seven words in this sentence.
{{ string | word_count }}
8
word_count
ModifierReturns the number of words in a given string.
string: There are probably seven words in this sentence.
{{ string | word_count }}
8
Submit improvements, related content, or suggestions through Github.
Betterify this page →