HH\Lib\Str\uppercase_l

Facebook Engineer?

This is available as Str\uppercase_l in the www repository.

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