$array.contains

This function checks the array if it contains a defined string
Syntax
    $array.contains{array}{value}
DocumentationThis function checks the array if it contains a defined string:

    Paramter:
      array - the array
      value - the search string
    Returns:
      Returns an 1 if the array contains the string otherwise a 0
    Throws:
      none
Examples
    $setCurrent{my_array}{$array.new{}}
    $array.add{$getCurrent{my_array}}{SITEFORUM}
    $array.add{$getCurrent{my_array}}{EUROPE}

    $array.contains{$getCurrent{my_array}}{AG}
      Returns:0
    $array.contains{$getCurrent{my_array}}{EUROPE}
      Returns:1
GroupSpecial
Minimum required transaction-mode:NONE
Required scripting permission of the developerPERMISSION_FL_BASIC
Minimum parameters2
Maximum parameters 2