简单的实现删除字符功能，just for fun

Signed-off-by: hurley25 <liuhuan1992@gmail.com>