compareIgnoreCase


Description:

public static int compareIgnoreCase (string? a, string? b)

Compare two strings lexicographically, ignoring case.

Example:

    assert (Strings.compareIgnoreCase ("ABC", "abc") == 0);

Parameters:

a

first string.

b

second string.

Returns:

negative if a < b, 0 if equal, positive if a > b (case-insensitive).