E.-R. Bruecklmeier wrote: > Is there a method similar to Array.delete which returns the modified > array instead of modifing the array by itself? > > Why aren's there two methods: > > Array.delete > > and > > Array.delete! > > ??? if Array.delete was duplicating the array before removing the value, it would be a huge performance killer for big arrays. you can simply do: oldArray = myArray.dup myArray.delete(obj) emmanuel