setdiff!(s, iterable)

Remove each element of iterable from set s in-place.


julia> s1 = Set("Hello");
julia> s2 = Set("Hello World");

julia> setdiff!(s2, s1);

julia> s2
Set{Char}({'d',' ','r','W'})

See Also

complement, complement!, intersect, intersect!, issubset, selectperm, selectperm!, Set, setdiff, setdiff!, symdiff, union, union!,

User Contributed Notes

Add a Note

The format of note supported is markdown, use triple backtick to start and end a code block.

*Required Field

Checking you are not a robot: