What do you mean? That the indexes of the element(s) you want to "remove" are in another array? If so then just read those indexes using the index array function and then use the delete function...If what you really want is to read the elements, not remove them...get the indexes and then use the index array to read those indexes...If you want to replace the elements / reset them to 0 or something use the replace array subset function. (The delete from array function is the function to use if you want to remove one or more elements from an array - effectively shrinking it...if you want to keep the size but set some of the elements to zero that would be a replace operation).
If none of this is what you are aiming at, could you please describe it in mor
e detail, add pictures of the code if possible.