Take Command

From GeoGebra Manual
Revision as of 13:51, 10 September 2011 by Bot (talk | contribs) (Bot: Automated text replacement (-{{command +{{command|cas=true))
Jump to: navigation, search


Take[ <List>, <Start Position m>, <End Position n> ]
Returns a list containing the elements from position m to n of the initial list.
Take[ <Text>, <Start Position m>, <End Position n>]
Returns a text containing the elements from position m to n of the initial text.

CAS Syntax

Take[ <List>, <Start Position m>, <End Position n>]
Returns a list containing the elements from position m to n of the initial list.
Example:
Take[{1, 2, a, 4, 5}, 2, 4] yields {2, a, 4}.
© 2024 International GeoGebra Institute