firstline(
TEXT
)

The firstline( function extracts the first line from the text.


Parameters

This function has one parameter:

text – the original text, with one or more lines


Description

This function extracts the first line from the text.

firstline("red
green
blue
yellow
orange") ☞ red

Note: This function is equivalent to:

array(thetext,1,cr())

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.