<?php mb_strwidth(string $string, ?string $encoding = null): int
<?php public static function limit($value, $limit = 100, $end = '...') { if (mb_strwidth($value, 'UTF-8') <= $limit) { return $value; }