Returns a string with the given character folding options applied.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
A mask of compare flags with a suffix
A string with the character folding options applied.
Character folding operations remove distinctions between characters. For example, case folding may replace uppercase letters with their lowercase equivalents.
The locale affects the folding logic. For example, for the Turkish locale, case-insensitive compare matches “I” to “ı” (
U+0131 LATIN SMALL DOTLESS I), not the normal “i” character.