equalIgnoreCase

Compares the first argument string with the second argument string, ignoring case considerations.

Category

String

Function syntax

equalIgnoreCase(<parameters>)

Parameters

  • string

Signature and returned type

equalIgnoreCase(<string>,<string>)

Returns a boolean.

Example

equalIgnoreCase("rowing is great", "rowing is GREAT")

Returns true.

recommendation-more-help
4f4a00c1-77c9-4eee-84df-bbe6206c3ab9