Cold Help System: Programming: ColdC Reference Manual: Functions: List: setremove()


LIST setremove(LIST list, ANY value)

This function removes the argument value from the argument list, if it exists, and returns the result. Examples:

setremove([2, 3, 4, 'foo], 'foo)
=> [2, 3, 4]
setremove([2, 3, 4], 5)
=> [2, 3, 4]
setremove([2, 3, 2, 4], 2)
=> [3, 2, 4]


delete() | insert() | join() | listgraft() | listlen() | replace() | setadd() | setremove() | sublist() | union() | listidx()


the Cold Dark