LAST

Syntax

LAST word or list

Explanation

LAST outputs the last element of its input. If the input is a word or number, LAST outputs the last character of the word or number. If the input is a list, LAST outputs the last element of the list.

See also BUTFIRST, BUTLAST, and FIRST.

Examples

? LAST 987

Result: 7

? LAST "MOUSE

Result: E

? LAST [EENIE MEENIE MYNIE MO]

Result: MO

?