src/ORM/FieldType/DBText.php
public function FirstParagraph()
    {
        $value = $this->Plain();
        if (empty($value)) {
            return '';
        }

        // Split paragraphs and return first
        $paragraphs = preg_split('#\n{2,}#', $value);
        return reset($paragraphs);
    }
public function FirstParagraph()
    {
        $value = $this->Plain();
        if (empty($value)) {
            return '';
        }

        // Split paragraphs and return first
        $paragraphs = preg_split('#\n{2,}#', $value);
        return reset($paragraphs);
    }
public function FirstParagraph ( ) { $ value = $ this -> Plain ( ) ; if ( empty ( $ value ) ) { return '' ; } // Split paragraphs and return first $ paragraphs = preg_split ( '#\n{2,}#' , $ value ) ; return reset ( $ paragraphs ) ; }
Get first paragraph

@return string
Get first paragraph