The last element

last collection
last word

Returns the last element in the collection or the last character in the word.

Example:

print last [a b c]
print last "word

Output:

c
d

See also:

Array
List
Word

Table of Content