Convert text to lowercase
Give these short labels the same letter case. All four inputs use plain English letters and digits.
toLowerCase
Simple example
Change the case of two letters.
Start'AB'
Resultab
void main() {
print("AB".toLowerCase());
}
ab
Advertisements
Everyday examples
Make the bus label match the route board.
Start'BUS'
Resultbus
void main() {
print("BUS".toLowerCase());
}
bus
Give an art shelf the same lettering as the other shelves.
Start'ART'
Resultart
void main() {
print("ART".toLowerCase());
}
art
Normalize the letters in a ticket code and keep its digits.
Start'B12'
Resultb12
void main() {
print("B12".toLowerCase());
}
b12