containsIgnoreCase()

containsIgnoreCase()

Overview

The containsIgnoreCase() function takes string and searchString as arguments. It returns True if the string contains the searchString. Otherwise, it returns False.

Return Type

  • Boolean

Syntax

<variable> = <string>.containsIgnoreCase( <searchString> );

(OR)

<variable> = containsIgnoreCase(<string>, <searchString>);
ParameterDescriptionData type
<variable> Variable which will contain the boolean value, true or false.BOOLEAN
<string>The string which may contain the searchString.TEXT
<searchString>The string to be searched for, in the main string.TEXT

Examples

Product = "Zoho Creator";
boolVal = Product.containsIgnoreCase("creator");      // returns true

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com