equalsIgnoreCase

equalsIgnoreCase ( object compare1 , object compare2 ) : boolean

Compare character strings to find if they are equals ignoring case.

Example

if(equalsIgnoreCase("HELLO", "hello")) console("Hello") // -> Hello


See also

equals
containsIgnoreCase

Parameters

compare1

The first object to compare

compare2

The second object to compare