Returns the nth element of a list
Supported Platforms: Windows and Mac OS
(nth n lst)
Type: Integer
The number of the element to return from the list (zero is the first element).
Type: List
The list with one or more elements.
Type: Integer, Real, String, List, Ename (entity name), T, or nil
The nth element of lst. If n is greater than the highest element number of lst, nth returns nil.
(nth 3 '(a b c d e)) D (nth 0 '(a b c d e)) A (nth 5 '(a b c d e)) nil