contains function

contains returns true if a search value is present within a source value.
 
This function supports both strings, and lists of numbers/ strings.

Syntax

contains(source_string, search_string)
contains(string_list, string)
contains(number_list, number)

Arguments

Examples

  • contains("Spiff", "Sp") => true
  • contains("Spiff", "Ab") => false
  • contains([1, 2, 3], 2) => true
  • contains([1, 2, 3], 5) => false

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽