Skip to main content

Overview

This function returns true if the target string includes the specified substring. You can specify whether the search should be case sensitive.

Parameters

stringContains("string", "contains", caseSensitive)
  • String: The string to search within. Make sure it’s enclosed in quotation marks.
  • Contains: The substring to search for. Make sure it’s enclosed in quotation marks.
  • Case Sensitive: Boolean value indicating whether the search is case sensitive.

Example

stringContains("Hello World", "world", false)
Returns true (case insensitive match).
I