Model/Connector/Order.php
private function limitLength($value)
    {
        if ($this->stringUtils->strlen($value) > \Dotdigitalgroup\Email\Helper\Data::DM_FIELD_LIMIT) {
            $value = mb_substr($value, 0, \Dotdigitalgroup\Email\Helper\Data::DM_FIELD_LIMIT);
        }

        return $value;
    }
private function limitLength($value)
    {
        if ($this->stringUtils->strlen($value) > \Dotdigitalgroup\Email\Helper\Data::DM_FIELD_LIMIT) {
            $value = mb_substr($value, 0, \Dotdigitalgroup\Email\Helper\Data::DM_FIELD_LIMIT);
        }

        return $value;
    }
private function limitLength ( $ value ) { if ( $ this -> stringUtils -> strlen ( $ value ) > \ Dotdigitalgroup \ Email \ Helper \ Data :: DM_FIELD_LIMIT ) { $ value = mb_substr ( $ value , 0 , \ Dotdigitalgroup \ Email \ Helper \ Data :: DM_FIELD_LIMIT ) ; } return $ value ; }
Check string length and limit to 250.

@param string $value

@return string
Check string length and limit to 250 .