src/Primitive/String/String.php
public function limitSafe($limit = 100, $end = '...')
    {
        return new static(
            StaticStringy::safeTruncate($this->string, $this->getIntegerable($limit)).$this->retrieveValue($end)
        );
    }
public function limitSafe($limit = 100, $end = '...')
    {
        return new static(
            StaticStringy::safeTruncate($this->string, $this->getIntegerable($limit)).$this->retrieveValue($end)
        );
    }
Truncates the string to a given length, while ensuring that it does not
split words. If word will be in the middle of limit, minus one word will be returned.

@param int|IntegerContract $limit
@param string|StringContract $end
@return static