Creator Help

endsWithIgnoreCase

This topic describes the syntax and usage of the endsWithIgnoreCasefunction in Zoho Creator .

Description

The endsWithIgnoreCase function checks whether the first argument string ends with the second argument string.While doing search it ignores the case. Returns true if the first argument string ends with the second argument string. Returns false otherwise.

Syntax

endsWithIgnoreCase(str1 , str2)

The endsWithIgnoreCase function syntax has the following arguments.

str1 - Required. The main string from which you what to find the end string (str2).

str2 - Required. The end string to be searched for within the main string (str1).

Example

a. In the following example, the endsWithIgnoreCase function returns true.

Name = "ZohoCreator";

endsWithIgnoreCase(Name,"creator") //returns true

Share this post : FacebookTwitter