This is documentation for Mathematica 5, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Element Extraction /


FilledSmallSquare Extract[expr, list] extracts the part of expr at the position specified by list.

FilledSmallSquare Extract[expr, , , ... ] extracts a list of parts of expr.

FilledSmallSquare Extract[expr, ... , h] extracts parts of expr, wrapping each of them with head h before evaluation.

FilledSmallSquare Extract[expr, i, j, ... ] is equivalent to Part[expr, i, j, ... ].

FilledSmallSquare The position specifications used by Extract have the same form as those returned by Position, and used in functions such as MapAt and ReplacePart.

FilledSmallSquare You can use Extract[expr, ... , Hold] to extract parts without evaluation.

FilledSmallSquare If expr is a SparseArray object, Extract[expr, ... ] extracts parts in the corresponding ordinary array.

FilledSmallSquare See Section 2.4.2.

FilledSmallSquare See also: Part, Take, PadLeft.

FilledSmallSquare New in Version 3.

Further Examples