Skip to content

REMOVE

The REMOVE function removes a domain from an existing set and also returns a new set that is a copy of the resulting set.

For example, this statement:

var setOneMinus = REMOVE(setOne, "1.01");

removes the 1.01 domain from setOne, then defines and populates setMinusOne with a copy of setOne.

The syntax is:

REMOVE(set, domain)

where:

  • set is a set variable.
  • domain is the domain name or ID.