Applies to Infiniti v8.1 or later
 

Contains()

Syntax: Contains(paramtr1,paramtr2,paramtr3,…….,paramtrN)

The function checks whether or not the first parameter paramtr1 is equal to one of the other parameters paramtr2,paramtr3,…….,paramtrN and returns a value.

Example 1: Contains("Tom", "Tom", "Dick", "Harry")--------------------------> Returns: 1

Example 2: Contains("Tom", "Jenny", "Dick", "Harry")------------------------> Returns: 0

NotContains()

Syntax: NotContains(paramtr1,paramtr2,paramtr3,…….,paramtrN)

The function checks whether or not the first parameter paramtr1 is not equal to one of the other parameters paramtr2,paramtr3,…….,paramtrN and returns a value.

Example 1: NotContains("Tom", "Tom", "Dick", "Harry")--------------------------> Returns: 0

Example 2: NotContains("Tom", "Jenny", "Dick", "Harry")------------------------> Returns: 1

StringContains()

Syntax: StringContains(paramtr1,paramtr2)

The function checks whether or not the second parameter paramtr2 is present in string paramtr1.

Example 1: StringContains("abcnam", "ab")------------------------> Returns: 1

Example 2: StringContains("abcnam", "do")------------------------> Returns: 0

 

Related Articles

 

 

Keywords

 

contains notcontains stringcontains parameters contain