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

DefaultPosition

Cases

FilledSmallSquareCases[, , ... , pattern] gives a list of the that match the pattern.

FilledSmallSquareCases[, ... , pattern -> rhs] gives a list of the values of rhs corresponding to the that match the pattern.

FilledSmallSquareCases[expr, pattern, levspec] gives a list of all parts of expr on levels specified by levspec which match the pattern.

FilledSmallSquareCases[expr, pattern -> rhs, levspec] gives the values of rhs which match the pattern.

FilledSmallSquare Example: Cases[2, x, 4, _Integer] LongRightArrow.

FilledSmallSquare The first argument to Cases need not have head List.

FilledSmallSquareCases[expr, pattern, levspec, n] gives the first n parts in expr which match the pattern.

FilledSmallSquare Level specifications are described in Section A.3.6.

FilledSmallSquare See The Mathematica Book: Section 2.3.2.

FilledSmallSquare See also: Select, Position, ReplaceList, Collect.

FilledSmallSquare Related package: Statistics`DataManipulation`.

Further Examples

DefaultPosition