Function: contains()

Usage

contains(<Text>, <Text>) : Boolean

The contains function is used to evaluate whether the first text parameter contains an instance of the second text parameter.

Examples

contains("abc", "b") => true

When used within an if() function, the contains() function can be used to evaluate whether a statement is either true or false.

if(contains(@City, "New York"), "From New York", "From outside New York")

Learn more about how you can get started using the Formula Field.

What would you improve in this article?
Powered by:

Type above and the results will be displayed here.