public function truncate($numberToTruncate)
    {
        $this->value = (new Truncate($this->value, $numberToTruncate))->execute();
        return $this;
    }
public function truncate($numberToTruncate)
    {
        $this->value = (new Truncate($this->value, $numberToTruncate))->execute();
        return $this;
    }
public function truncate ( $ numberToTruncate ) { $ this -> value = ( new Truncate ( $ this -> value , $ numberToTruncate ) ) -> execute ( ) ; return $ this ; }
Truncate remove the number of indicated values at the end of the string

@param int $numberToTruncate

@throws \InvalidArgumentException

@return \Stringizer\Stringizer
Truncate remove the number of indicated values at the end of the string