invert()
Replaces all the characters in the receiver with all the characters it didn’t previously contain.
Declaration
func invert()Discussion
Inverting a mutable character set, whether by invert() or by inverted, is much less efficient than inverting an immutable character set with inverted.