Returns an uppercase version of the string.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
Return Value
An uppercase copy of the string.
Discussion
The following example transforms a string to uppercase letters:
Complexity: O(n)
Returns an uppercase version of the string.
SDK
Framework
An uppercase copy of the string.
The following example transforms a string to uppercase letters:
Complexity: O(n)
func lowercased() -> String
Returns a lowercase version of the string.