Package

ViewHelpers

ViewHelper Documentation

v:count.lines

Counts number of lines in a string.

Usage examples

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

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

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

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

Arguments

string string

String to count, if not provided as tag content

ViewHelper Resources

Schema Resources