---
title: localizedUppercase
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsstring/localizeduppercase
---

# localizedUppercase

Returns a version of the string with all letters converted to uppercase, taking into account the current locale.

## Declaration

```swift
var localizedUppercase: String { get }
```

## Discussion

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.

## See Also

### Changing Case

- [lowercased](foundation/nsstring/lowercased.md)
- [localizedLowercase](foundation/nsstring/localizedlowercase.md)
- [lowercased(with:)](foundation/nsstring/lowercased(with:).md)
- [uppercased](foundation/nsstring/uppercased.md)
- [uppercased(with:)](foundation/nsstring/uppercased(with:).md)
- [capitalized](foundation/nsstring/capitalized.md)
- [localizedCapitalized](foundation/nsstring/localizedcapitalized.md)
- [capitalized(with:)](foundation/nsstring/capitalized(with:).md)
