uppercased(with:)
Returns a version of the string with all letters converted to uppercase, taking into account the specified locale.
Declaration
func uppercased(with locale: Locale?) -> StringReturns a version of the string with all letters converted to uppercase, taking into account the specified locale.
func uppercased(with locale: Locale?) -> String