equalIgnoreCase 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
b22c9c5d-9208-48f4-b874-1cefb8df4d76