Instance Method

deleteCharactersInRange:

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

Declaration

- (void)deleteCharactersInRange:(NSRange)range;

Parameters

aRange

A range specifying the characters to delete.

Discussion

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.