Syntax
first(array)
Description
The first() function returns the first element of an array. If the array is empty a zero length string is returned.
Example
include("main")
a=["Some", "data"]
println(first(a))
Some
Just another Monkey Lang
first(array)
The first() function returns the first element of an array. If the array is empty a zero length string is returned.
include("main")
a=["Some", "data"]
println(first(a))
Some