19 declare(strict_types=1);
    40         if (function_exists(
'mb_substr')) {
    41             return mb_substr($string, 0, $max_length, 
'UTF-8');
    43             return substr($string, 0, $max_length);
    49         return $this->utilities->getUserDateFormat();
    54         return $this->utilities->txt($key);
    57     public function txtFill(
string $key, 
string ...$values): string
    59         return $this->utilities->txtFill($key, ...$values);
    64         return $this->utilities->sanitizeForHTML($string);