Package

ViewHelpers

ViewHelper Documentation

v:count.words

Counts words in a string.

Usage examples

<v:count.words>{myString}</v:count.words> (output for example `42`

{myString -> v:count.words()} when used inline

<v:count.words string="{myString}" />

{v:count.words(string: myString)}

Arguments

string string

String to count, if not provided as tag content

ViewHelper Resources

Schema Resources