second()

Synopsis

Returns the second item in the input list . It will return NoValue if no second item is available.

Syntax

Second ( list As List ) As Any 
Argument Type Description
list list The input list , from which to retrieve the second item.

Example 1

Intent >second({5, 3, 6}) 
--> 3 
Here, the return value is the value of the second item in the input list : the integer value 3.

Example 2

Intent >second({"a"}) 
--> NoValue 
Here, there is no second item in the input list , so NoValue is returned.