lastline(
TEXT
)

The lastline( function extracts the last line from the text.


Parameters

This function has one parameter:

text – the original text, with multiple carriage return separated lines.


Description

This function extracts the last line from the text.

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

Note: This function is equivalent to:

array(thetext,arraysize(thetext,cr()),cr())

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.