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()