Insert
Insert(list, elem, n)
inserts
elem
at positionn
inlist
. Whenn
is negative, the position is counted from the end.
Examples
>> Insert({a,b,c,d,e}, x, 3){a,b,x,c,d,e}
>> Insert({a,b,c,d,e}, x, -2){a,b,c,d,x,e}
Implementation status
- ✅ - full supported