localizedUppercase
Returns a version of the string with all letters converted to uppercase, taking into account the current locale.
Declaration
var localizedUppercase: String { get }Discussion
Case transformations aren’t guaranteed to be symmetrical or to produce strings of the same lengths as the originals. See lowercased for an example.