This version is out of date, covering development from v8.0.0 to v8.x.x. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v8 Icon

List/set.remove()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 List   [operators of similar scope]

 Data manipulation   [other Data manipulation operators]

 8.1.0

 


list.remove()

New to v8.1.0, this removes items from a list or set. For example,

$MyList = $MyList.remove(0); 

returns a new list from which all elements equal to zero have been removed, and

$MyList = $MyList.remove("cat"); 

returns a new list from which call elements equal to "cat" have been removed.

$MyList = $MyList.remove("cat; dog; badger"); 

removes "cats", "dogs", and "badgers".