deleting an element from an array
i have an array(phone) that hold some elemnts of type Contacts..
i want to search for a contact and delete it.
i search this contact by his name and put all simmilar contacts in a new array
refering to the phone  ..
now the problem is how to choose a contact from the new array and delete him in the phone......
i thought of taking the refrence of the chosen contact from the new array and send it to the phone but i don't know how to get the corresponding index in the phone for this refrence....
plz help me!!!!