Casefold
public struct Casefold: Fn
Casefold
normalizes strings according to the Unicode Standard section 5.18
Case Mappings
.
To compare two strings for case-insensitive matching, transform each string and use a binary comparison, such as equals.
-
Declaration
Swift
public init(_ str: Expr, normalizer: Normalizer? = nil)
Parameters
str
String to be normalized.
normalizer
The normalization operation.