Be concise.
Be useful.
All contributions dictatorially edited by webmasters to match personal tastes.
Please do not paste any copyright violating material.
Please try to avoid dependencies to third-party libraries and frameworks.
items.delete_at(i)
del items[i]
$removed_element = splice @items, $i, 1;
let new_list = items.filter(function(val,idx,ary) { return idx != i });
items.remove(i)
unset($items[$i]);
items.removeAt(i);
list[i] := list[high(list)];
setlength(list,high(list));
List.delete_at(items, i)
items = append(items[:i], items[i+1:]...)
{Left, [_|Right]} = lists:split(I-1, Items),
Left ++ Right.
local removedItem = table.remove(items,i)
copy(items[i:], items[i+1:])
items[len(items)-1] = nil
items = items[:len(items)-1]
(define (removeElementByIndex L i)
(if (null? L)
null
(if (= i 0)
(cdr L)
(cons (car L) (removeElementByIndex (cdr L) (- i 1)))
)
)
)
items.erase (items.begin () + i);
items.splice(i,1);
integer, allocatable, dimension(:) :: items
items = [items(:i-1), items(i+1:)]
items.removeAt(i)
(defn remove-idx [i items]
(keep-indexed #(when-not (= i %1) %2) items))
items removeAt: i.
items.pop(i)
val without = {
val (left, right) = items.splitAt(i)
left ++ right.drop(1)
}