formIntersection(with:)
Modifies the receiver so it contains only characters that exist in both the receiver and another set.
Declaration
func formIntersection(with otherSet: CharacterSet)Parameters
- otherSet:
The character set with which to perform the intersection.