Syntax: | s = filter_extract(s, rid)
|
Description: | Runs the function pointed to by rid for every element on s and returns a sequence containing the elements that make the function return TRUE (1). |
Syntax: | s = filter_find(s, rid)
|
Description: | Runs the function pointed to by rid for every element on s and returns the index of the first one where it returns TRUE (1). |
Syntax: | s = filter_replace(s, rid, x2)
|
Description: | Runs the function pointed to by rid for every element on s and the ones where it returns TRUE (1) it replaces that element with x. |
Syntax: | s = filter_replace(s, rid)
|
Description: | Runs the function pointed to by rid for every element on s and the ones where it returns TRUE (1) it removes that element. |