contains(<Text>, <Text>) : Boolean
The contains function is used to evaluate whether the first text parameter contains an instance of the second text parameter.
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.
Type above and the results will be displayed here.