public function lines()
    {
        $array = $this->split('[\r\n]{1,2}', $this->str);
        for ($i = 0; $i < count($array); $i++) {
            $array[$i] = static::create($array[$i], $this->encoding);
        }

        return $array;
    }
public function lines()
    {
        $array = $this->split('[\r\n]{1,2}', $this->str);
        for ($i = 0; $i < count($array); $i++) {
            $array[$i] = static::create($array[$i], $this->encoding);
        }

        return $array;
    }
public function lines ( ) { $ array = $ this -> split ( '[\r\n]{1,2}' , $ this -> str ) ; for ( $ i = 0 ; $ i < count ( $ array ) ; $ i ++ ) { $ array [ $ i ] = static :: create ( $ array [ $ i ] , $ this -> encoding ) ; } return $ array ; }
Splits on newlines and carriage returns, returning an array of Stringy
objects corresponding to the lines in the string.

@return static[] An array of Stringy objects
Splits on newlines and carriage returns returning an array of Stringy objects corresponding to the lines in the string .