I need to create a new vector from Vector("lumber", "stone", "magic potion","stone","lumber") but without the string "lumber", if i use the method filterNot(_=="lumber") it removes the two elements that match "lumber". is there a filter out just one ocurrence?
i tried using .distinct but i need the two stones in the vector.