+ 1
Python Docs for Android (Little Drops / Thiyagaraaj M) Section 4: Built-In Types reads... https://play.google.com/store/apps/details?id=com.thiyagaraaj.learnpython str.casefold() Return a casefolded copy of the string. Casefolded strings may be used for caseless matching. Casefolding is similar to lowercasing but more aggressive because it is intended to remove all case distinctions in a string. For example, the German lowercase letter 'ß' is equivalent to "ss". Since it is already lowercase, lower() would do nothing to 'ß';casefold() converts it to "ss". The casefolding algorithm is described in section 3.13 of the Unicode Standard. New in version 3.3.
22nd Nov 2016, 12:39 AM
Kirk Schafer
Kirk Schafer - avatar