private function formatByCharGrouping($value, $groupingLength)
    {
        if ('' === $value) {
            return '-';
        }

        return \ucfirst(Utf8::substr($value, 0, $groupingLength ?: null));
    }