Instance Method


Deletes the characters in the given range along with their associated attributes.


- (void)deleteCharactersInRange:(NSRange)range;



A range specifying the characters to delete.


Raises an NSRangeException if any part of aRange lies beyond the end of the receiver’s characters.

See Also

Changing characters

- replaceCharactersInRange:withString:

Replaces the characters in the given range with the characters of the given string.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software