Deletes n characters from astr at position index. index must be non-negative and less than the length of astr. n may be negative; this indicates that all characters in the string from position index onwards should be deleted. n must be small enough that no attempt is made to delete characters beyond the end of the string.