Instance Method

addCharacters(in:)

Adds to the receiver the characters in a given string.

Declaration

func addCharacters(in aString: String)

Parameters

aString

The characters to add to the receiver.

Discussion

This method has no effect if aString is empty.

See Also

Adding and Removing Characters

func addCharacters(in: NSRange)

Adds to the receiver the characters whose Unicode values are in a given range.

func removeCharacters(in: NSRange)

Removes from the receiver the characters whose Unicode values are in a given range.

func removeCharacters(in: String)

Removes from the receiver the characters in a given string.