DocumentationMathematicaBuilt-in FunctionsLists and MatricesElement Extraction
Last
Last[expr] gives the last element in expr.
Last[expr] is equivalent to expr[[-1]]. See Section 1.8.4. See also: Part, First, Take, Most. New in Version 1.
Further Examples