storing the deleted string instead of the number of chars