Choose where you’d like to start

removeAll()

Overview

The removeAll() function takes listVariable and removeListVariable as arguments. It removes the elements present in removeListVariable from listVariable.

Syntax

<listVariable>.removeAll(<removeListVariable>);
ParameterDescriptionData type
<listVariable>The list variable from which the elements present in removeListVariable will be removed.LIST
<removeListVariable>

The elements present in this list will be removed from listVariable.

If removeListVariable is not found, listVariable will be returned as it is.

LIST

Examples

Products = {"Creator", "CRM", "Projects"};
removeProducts = {"CRM", "Projects"};
Products.removeAll(removeProducts);            // Now Products will contain {"Creator"}

Get Started Now

Execute