←
FirstPosition
→
Last
/
Reference of Built-in Symbols
/
List Functions
/
Elements of Lists
/
Insert
/
Insert
WMA link
Insert
[
list
,
elem
,
n
]
inserts
elem
at position
n
in
list
. When
n
is negative, the position is counted from the end.
Insert[{a,b,c,d,e}, x, 3]
Insert[{a,b,c,d,e}, x, -2]
←
FirstPosition
→
Last