logo CodeStepByStep logo


Language/Type: VB List collections

Write a function named RemoveAll that accepts as a parameter a List of strings along with an element value string, and modifies the list to remove all occurrences of that string. For example, if the list v contains {"a", "b", "c", "b", "b", "a", "b"}, the call of RemoveAll(v, "b") should modify it to store {"a", "c", "a"}.

Function: Write a VB function as described, not a complete program.

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.