CONTAINS() performs a case-sensitive search for a substring within a string. If the search string is found within the target string, the function returns TRUE; otherwise, it returns FALSE. This function is commonly used for text searching, filtering, and conditional logic based on string content.
CONTAINS(string, search_string)
CONTAINS() returns a Boolean value (TRUE or FALSE)
CONTAINS("Green apples taste better than red apples.", "apples") = TRUE
CONTAINS("Green apples taste better than red apples.", "oranges") = FALSE
CONTAINS("Hello World", "world") = FALSE (case sensitive)
CONTAINS("Hello World", "World") = TRUE
CONTAINS("", "test") = FALSE (empty string)
CONTAINS("test", "") = TRUE (empty string is contained in any string)
CONTAINS("Multiple words here", "words") = TRUE