added removeChar static method