startsWithIgnoreCase()

startsWithIgnoreCase()

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>);
ParameterDescriptionData 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>

Share this post : FacebookTwitter

Still can't find what you're looking for?

Write to us: support@zohodeluge.com