$patternMatched

Examines if the given string contains the specified pattern.
Syntax
    $patternMatched{pattern}{string}
DocumentationExamines if the given string contains the specified pattern:

    Parameters:
      pattern, the pattern to examine if contained in the given string.
      string, the string.
    Returns:
      1 if and only if the given string contains the given pattern; 0 otherwise.
Examples
Example 1:
    $patternMatched{SITEFORUM}{S ITEFOR UM}

    Result:
    1 (true)
Example 2:
    $patternMatched{SITEFORUM}{S ITEFOR UM1}

    Result:
    0 (false)
GroupString
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 2