caseFoldExpansion

public func caseFoldExpansion(Char) -> String

Full Unicode case fold of c as a String. Returns "" when c has no multi-codepoint fold — pair with hasCaseFoldExpansion, or fall back to caseFold for the single-codepoint form.

Examples

caseFoldExpansion('ß') // "ss" caseFoldExpansion('ffi') // "ffi" caseFoldExpansion('a') // "" (no expansion; caseFold('a') == 'a')

Defined in lang/std/text/unicode/case_folding.ks