String.remove_illegal_char 구현