Import std.text.unicode
CaseFold
function
@PanicsAtCaller Public Function CaseFold(text: String): String
text case-folded, as Unicode has it, so two texts that differ only by case fold to the same:
"Straße" and "STRASSE" both to "strasse". Panics past the most a String holds.
Examples
Expect(CaseFold("Straße") == CaseFold("STRASSE"))
Expect(Category('A') == UnicodeCategory.UPPERCASE_LETTER)Report an issue with this page or with FutureBlitz on GitHub.