Comparer.OrdinalIgnoreCase

Syntax

Comparer.OrdinalIgnoreCase(x as any, y as any) as number

About

Returns a case-insensitive comparer function which uses Ordinal rules to compare the provided values x and y.

Example 1

Using case-insensitive Ordinal rules, compare "Abc" with "abc". Note "Abc" is less than "abc" using Comparer.Ordinal.

Usage

Comparer.OrdinalIgnoreCase("Abc", "abc")

Output

0