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

Documentation / Mathematica / Built-in Functions / Lists and Matrices / Structure Manipulation /

FlattenAt

FilledSmallSquare FlattenAt[list, n] flattens out a sublist that appears as the n element of list. If n is negative, the position is counted from the end.

FilledSmallSquare FlattenAt[expr, i, j, ... ] flattens out the part of expr at position i, j, ... .

FilledSmallSquare FlattenAt[expr, , , ... , , , ... , ... ] flattens out parts of expr at several positions.

FilledSmallSquare Example: FlattenAt[a, b, c, d, e, 2] LongRightArrow.

FilledSmallSquare See Section 2.2.10.

FilledSmallSquare See also: DeleteCases, Flatten, Sequence, SlotSequence.

FilledSmallSquare New in Version 2.

Further Examples