Used to count the number of paragraphs.

ViewData["data"] = @"Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis ultricies odio eget erat consectetur ultricies. 

Donec eu est tellus. Maecenas quis mauris a nisi cursus tristique eget sit amet velit.

Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec nec nunc lorem, id commodo sem. Nam tempor pharetra arcu eu tempor. 


{$data|count_paragraphs}


Will output

3

Last edited Feb 16, 2010 at 12:33 PM by JacoPretorius, version 4

Comments

No comments yet.