Mwnci last() Function

Syntax

last(array)

Description

The last() function returns the last element of an array. If the array is empty a zero length string is returned.

Example

a=["Some", "data"]
println(last(a))


data