HH\Lib\Str\uppercase_l

Returns the string with all alphabetic characters converted to uppercase

namespace HH\Lib\Str;

function uppercase_l(
  \HH\Lib\Locale\Locale $locale,
  string $string,
): string;

Locale-specific capitalization rules will be respected, e.g. i -> I vs i -> İ.

Parameters

  • \HH\Lib\Locale\Locale $locale
  • string $string

Returns

  • string