equalsIgnoreCase()

[StringObject Function]

Description

Compares two Strings for equality. The comparison is not case-sensitive, meaning the String("hello") is equal to the String("HELLO").

Syntax

myString.equalsIgnoreCase(myString2)

Parameters

myString, myString2: variables of type String

Returns

true: if myString equals myString2 (ignoring case)

false: otherwise

See also