public function normalize()
    {
        $this->input = str_replace(str_split($this->badCharacters), '', $this->input);
        $this->inputLength = mb_strlen($this->input, $this->encoding);

        return $this;
    }
public function normalize()
    {
        $this->input = str_replace(str_split($this->badCharacters), '', $this->input);
        $this->inputLength = mb_strlen($this->input, $this->encoding);

        return $this;
    }
public function normalize ( ) { $ this -> input = str_replace ( str_split ( $ this -> badCharacters ) , '' , $ this -> input ) ; $ this -> inputLength = mb_strlen ( $ this -> input , $ this -> encoding ) ; return $ this ; }
Removes useless characters from the whole input string.

@return $this
Removes useless characters from the whole input string .