PyDocs

Nav

Python Runtime Services

str.casefold

builtins

method of str · Added in 3.3
  • str.casefold()
Return a version of the string suitable for caseless comparisons.
1 Example
>>> 'straße'.lower()
'straße'
>>> 'straße'.casefold()
'strasse'
from the Python docs
See Also
No see-alsos for builtins/str.casefold
0 Notes
No notes for str.casefold