Difference between revisions of "Array.removeByVal()"

From ZCubes Wiki
Jump to navigation Jump to search
 
Line 20: Line 20:
  
 
==See Also==
 
==See Also==
 +
[[Array.remove() |remove]]
 +
 +
[[Array.clean() |clean]]

Latest revision as of 04:04, 27 April 2020


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