2 ms·
Nope, none of them are really useful. The only useful folding function is casefold(str, locale). (if your str type doesn't know it's locale). toLower and toUpp
by rurban 6y ago
Nope, none of them are really useful. The only useful folding function is casefold(str, locale). (if your str type doesn't know it's locale).
toLower and toUpper should only be used for presentation, but all case-insensitive operations need to be done with casefold.