Question: Comparing Vectors

I have two vectors ( A=(1,2,3,4,5,6,7,8), B=(2,7,8) ) and I would like to compare them to see if the elements in B are also in A, and then if they are I would like to remove them from A so I would be left with the following A=(1,3,4,5,6). Is this possible and if so how?

Any help is much appreciated

Please Wait...