equalsIgnoreCase() | Zoho QEngine Help

equalsIgnoreCase()

Overview

The equalsIgnoreCase() function takes two strings as arguments. It compares both the strings, and returns True if both are found to be equal. Otherwise, it returns False.

Note: This function performs a non case-sensitive search.

Return Type

  • Boolean

Syntax

  1. <variable> = <string1>.equalsIgnoreCase(<string2>);

(OR)

  1. <variable> = equalsIgnoreCase( <string1>, <string2> );
ParameterDescriptionData type
<variable>Variable which will contain the boolean value, true or false.BOOLEAN
<string1>

The string to be compared with string2.

TEXT
<string2>

The string to be compared with string1.

TEXT

Examples

  1. Product = "ZohoQEngine";
  2. var = equalsIgnoreCase(Product, "ZohoQEngine");     //returns true
  3. Product ="ZohoQEngine";
  4. var = equalsIgnoreCase(Product, "Zoho QEngine");   //returns false