firstline(
TEXT
)

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


Parameters

This function has one parameter:

text – the original text, with multiple 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.