lowercased()
Returns a lowercase version of the string.
Declaration
func lowercased() -> StringReturn Value
A lowercase copy of the string.
Discussion
Here’s an example of transforming a string to all lowercase letters.
let cafe = "BBQ Café 🍵"
print(cafe.lowercased())
// Prints "bbq café 🍵"