Skip to content
FutureBlitz

    Install

    Import std.text.unicode

    CaseFold

    std.text.unicode

    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)

    std/text/unicode.fb, line 140

    Report an issue with this page or with FutureBlitz on GitHub.