startsWithIgnoreCase()
Table of Contents
Overview
The startsWithIgnoreCase() function takes string and searchString as arguments. It returns True if the searchString is found at the beginning of the string. Otherwise, returns False.
Note: This function performs a case-insensitive search.
Return Type
- Boolean
Syntax
<variable> = <string>.startsWithIgnoreCase( <searchString>);
(OR)
<variable>= startsWithIgnoreCase(<string>, <searchString>);
Parameter | Description | Data type |
---|---|---|
<variable> | Variable which will contain the returned boolean value. | BOOLEAN |
<string> | The main string which may start with the searchString. | TEXT |
<searchString> | The searchString with which the main string may start. | TEXT |
Examples
Product = "Zoho Creator";
var = startsWithIgnoreCase(Product, "zoho"); //returns true /div>
var = startsWithIgnoreCase(Product, "zoho"); //returns true /div>