deleteCharacters(in:)
Deletes the characters in the given range along with their associated attributes.
Declaration
func deleteCharacters(in range: NSRange)Parameters
- range:
A range specifying the characters to delete.
Discussion
Raises an rangeException if any part of range lies beyond the end of the receiver’s characters.