endsWithIgnoreCase

endsWithIgnoreCase()

Overview

The endsWithIgnoreCase() function takes string and searchString as arguments. It returns True if the searchString is found at the end of the string. Otherwise, returns False

Note:  This function performs a case-insensitive search.

Return Type

  • Boolean

Syntax

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

(OR)

<variable> = endsWithIgnoreCase(<string>, <searchString>);
ParameterDescriptionData type
<variable>Variable which will contain the boolean value, true or false.BOOLEAN
<string>The string which may end with the searchString.TEXT
<searchString>The searchString with which the main string may end.TEXT

Examples

Product = "Zoho Creator";
boolVal= endsWithIgnoreCase(Product, "creator");      //returns true

Share this post : FacebookTwitter

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

Write to us: support@zohodeluge.com