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
strString to be normalized.
normalizerThe normalization operation.
Casefold Struct Reference