Table of contents
TOC
Collapse the table of content
Expand the table of content

Comparer.OrdinalIgnoreCase

Owen Duncan|Last Updated: 4/19/2018
|
1 Contributor

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

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

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

0

© 2018 Microsoft