linecount(
TEXT
)

The linecount( function counts the number of carriage return separated lines in the text.


Parameters

This function has one parameter:

text – the original text with multiple lines.


Description

This function counts the number of carriage return separated lines in the text.

linecount("red
green
blue
yellow
orange") ☞ 5

Note: This function is equivalent to:

extract(thetext,cr(),-1)

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.