string-compare-ignore-case(a, b)


Performs a lexical comparison of two texts and returns whether a is 'equal to' b (value 0), a is 'less' than b (value -1) or a is 'greater' than b (value 1).

Unlike in function string-compare(a, b), however, upper and lower case are not considered. See examples.

Description of Parameters


Parameter

Description

a

Text.

b

Text.


Examples


Parameter a

Parameter b

Result

a

a

0

a

b

-1

b

a

1

abc

abc

0

abc

abd

-1

ABC

abc

0

abc

aaa

1