Stringy\Stringy::tidy PHP Method

tidy() public method

Returns a string with smart quotes, ellipsis characters, and dashes from Windows-1252 (commonly used in Word documents) replaced by their ASCII equivalents.
public tidy ( ) : Stringy
return Stringy Object whose $str has those characters removed
    public function tidy()
    {
        $str = preg_replace(array('/\\x{2026}/u', '/[\\x{201C}\\x{201D}]/u', '/[\\x{2018}\\x{2019}]/u', '/[\\x{2013}\\x{2014}]/u'), array('...', '"', "'", '-'), $this->str);
        return static::create($str, $this->encoding);
    }