String Function - notContains

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

Description

The notContains function checks whether the first argument string does not contain the second argument string. This function performs a case-sensitive search. 

Syntax

notContains(str1 , str2)

The notContains function syntax has the following arguments.

str1 - Required. The main string from which you what to find the search string.

str2 - Required.  The string to be searched for within the main string.

Return Value

Returns true if str2 parameter does not occur within the main string, otherwise false. 

Example

    

Name = "ZohoCreator";
If (notContains(Name,"Zoho"))  //returns false
{

}

If (notContains(Name,"zoho"))  //returns true
{

}