Tinderbox v10 Icon

list.remove(matchValue)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Data Type Returned: 

Operator First Added: 

Operator in Current Baseline: 

Operator Last Altered: 

 Function  [other Function type actions]

 List  [operators of similar scope]

 Data manipulation  [other Data manipulation operators]

 source context dependent

 v8.1.0

 Baseline

 As at baseline


list.remove(matchValue)

This removes items from a List- or Set-type list. The argument matchValue may be of the desired data type for matching. 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".