Share via


CaseInsensitiveComparison Class

Definition

Case-insensitive operations (mostly comparison) on unicode strings.

public ref class CaseInsensitiveComparison abstract sealed
public static class CaseInsensitiveComparison
type CaseInsensitiveComparison = class
Public Class CaseInsensitiveComparison
Inheritance
CaseInsensitiveComparison

Properties

Comparer

Returns a StringComparer that compares strings according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

Methods

Compare(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Compares two strings according to the Unicode rules for case-insensitive identifier comparison (lower-case mapping).

Compare(String, String)

Compares two strings according to the Unicode rules for case-insensitive identifier comparison (lower-case mapping).

EndsWith(String, String)

Determines if the string 'value' end with string 'possibleEnd'.

Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

Equals(String, String)

Determines if two strings are equal according to Unicode rules for case-insensitive identifier comparison (lower-case mapping).

GetHashCode(String)

Gets a case-insensitive hash code for Unicode identifiers.

StartsWith(String, String)

Determines if the string 'value' starts with string 'possibleStart'.

ToLower(Char)

ToLower implements the Unicode lowercase mapping as described in ftp://ftp.unicode.org/Public/UNIDATA/UnicodeData.txt. VB uses these mappings for case-insensitive comparison.

ToLower(String)

Convert a string to lower case per Unicode

ToLower(StringBuilder)

In-place convert string in StringBuilder to lower case per Unicode rules

Applies to