Capitalizes the first character of this String using the specified locale.
The original String.
The string with the first character capitalized.
The Locale to be used for capitalization. Defaults to Locale.US.
Replaces the deprecated Kotlin version, but hard-codes Locale.US
Locale.US