Creator Help

startsWithIgnoreCase

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

Description

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

Syntax

startsWithIgnoreCase(str1 , str2)

The startsWithIgnoreCase 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 startsWithIgnoreCase function returns true.

Name = "ZohoCreator";

startsWithIgnoreCase(Name,"zoho") //returns true

Share this post : FacebookTwitter