All help topics · Link to this topic
Showing help on 'listdelete()'
Syntax: listdelete (LIST <list>, INT <index>) => LISTReturns a copy of <list> with the <index>th element removed. If <index> is not in the range `[1..length(<list>)]', then E_RANGE is raised.
x = {"foo", "bar", "baz"};
listdelete(x, 2) => {"foo", "baz"}