3 ms·
Has anyone here ever had a use case for toLower() where they actually wanted localization to apply? Yes. In a system I'm about done with, there is a sortable
by reaperducer 6y ago
Has anyone here ever had a use case for toLower() where they actually wanted localization to apply?
Yes. In a system I'm about done with, there is a sortable chart of dates and times. In some languages day and month names are capitalized, and in some they are not.
- bjourne 6y agoHow does that work? toUpper() can't possibly know that the string is a day or month name.