ASCII
public final class ASCII : CollationProtocol
ASCII collation compares two strings by using binary comparison.
-
Specifies whether the collation is case-sensitive or not. Case-insensitive collation will treat ASCII uppercase and lowercase letters as equivalent.
Declaration
Swift
public func ignoreCase(_ ignoreCase: Bool) -> Self
Parameters
ignoreCase
True for case-insenstivie; false for case-senstive.
Return Value
The ASCII Collation object.