yep I guess the B3D Str solution would be the one...
<teamonkey> that wouldn't work cause... well I m making a small mod that add a few functions for arrays (like append, insert or remove)... what I want to do is create a remove function that can have an array and the index of the object to remove as parameters, and a second version of remove that has the array and the object you want to remove... inside the second version I have to test if the passed object is "equal" to one of the objects in the array and if so remove it... I guess I'll have to stick with the remove object only if these are pointers to the very same object...
<teamonkey> that wouldn't work cause... well I m making a small mod that add a few functions for arrays (like append, insert or remove)... what I want to do is create a remove function that can have an array and the index of the object to remove as parameters, and a second version of remove that has the array and the object you want to remove... inside the second version I have to test if the passed object is "equal" to one of the objects in the array and if so remove it... I guess I'll have to stick with the remove object only if these are pointers to the very same object...