public static function truncate($pStr, $pLimit, $pEnd = '...')
    {
        $str    = strip_tags($pStr);
        $length = mb_strlen($str);
        if ($length <= $pLimit) {
            return $str;
        }

        return trim(mb_substr($str, 0, $pLimit)) . $pEnd;
    }