Implement deleteChar