Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: