Last Command

From GeoGebra Manual
Revision as of 12:10, 7 May 2011 by Mathmum (talk | contribs) (fixed formatting)
Jump to: navigation, search


Last[List L]
Returns list containing the last element of the list L.
Example: Last[{1,2,3}] returns {3}.

To get the last element itself use e.g. Element Command.

Last[List L, Number n of Elements]
Returns a list containing just the last n elements of the list L.
Last[Text]
Returns last character of the text.
Last[Text, Number n of Elements]

Returns the last n characters of the text.

Example: Last["Hello",2] returns "lo".
© 2024 International GeoGebra Institute