count_paragraphs

This is used to count the number of paragraphs in a variable.

Example 5-4. count_paragraphs


{$articleTitle}
{$articleTitle|count_paragraphs}

OUTPUT:

War Dims Hope for Peace. Child's Death Ruins Couple's Holiday. 

Man is Fatally Slain. Death Causes Loneliness, Feeling of Isolation.
2