How can I call this function? I need to delte an item that is found within an array. I am not sure how to do this. Please give any assistance possible. Thank YouCode:void remove(string& text, int number_Array, int RemoveItem) { //initializing varaible int i = 0; //setting array to start at position zero int number_Array = 10; //setting the number in array to 10 i = text.find(RemoveItem); while(i <= 10) { text.erase(i, 1); i = text.find(RemoveItem, i); } return; }