public static function stringLimiter($string, $limit)
    {
        if (strlen($string) <= $limit || $limit == -1) {
            return $string;
        } else {
            $y = mb_substr($string, 0, $limit, "utf-8").'...';

            return $y;
        }
    }