Array.removeByVal()

From ZCubes Wiki
Jump to navigation Jump to search


Array.removeByVal(SomeValue,ReturnCopy )

This member function finds the value in an array, and removes the value, and changes the original array by default, unless ReturnCopy is true.


a=1..5;

a.removeByVal(3)

a

gives

1 2 4 5

See Also

remove

clean