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

  • Language c_str()

  • Language charAt()

  • Language compareTo()

  • Language concat()

  • Language endsWith()

  • Language equals()

  • Language getBytes()

  • Language indexOf()

  • Language lastIndexOf()

  • Language length()

  • Language remove()

  • Language replace()

  • Language reserve()

  • Language setCharAt()

  • Language startsWith()

  • Language substring()

  • Language toCharArray()

  • Language toDouble()

  • Language toFloat()

  • Language toInt()

  • Language toLowerCase()

  • Language toUpperCase()

  • Language trim()