added removeChar and removeText