FORMULA LANGUAGE


@Contains
Example

Determines whether a substring is stored within a string.

Syntax

@Contains( string ; substring )

Parameters

string


substring
Return value

flag


Usage

This function is case-sensitive.

If either parameter is a list, the function returns 1 if any element of parameter 1 contains any element of parameter 2.

You cannot use this function to test for substrings in a rich text field.

Avoid using this function to test for an exact match (that is, parameter 2 equals parameter 1). The result will be wrong if parameter 1 is not an exact match but does contain parameter 2. Use the equal operator or @IsMember, which will give the desired result and are more efficient.

Language cross-reference

InStr function in the LotusScript language

Example
See Also