Deletes n characters from position index in sb. index must be non-negative and less than the length of abuf. 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 autobuf.