_Count(String, Array, Boolean)

Counts the number of occurrences of a string value in an array.

Syntax

_Count(valueToCount,valueList,caseSensitive)

Parameters

Parameter Definition Data type

valueToCount

Value to count

String

valueList

Array of values to search

Array of String values

caseSensitive

Case sensitive search flag, True or False. If the value is True, the function takes case into consideration when searching for strings that match the value to count. For example, if caseSensitive is True, ABC is not counted as an occurrence of the string abc.

Boolean

Returns

The number of occurrences of a string value in an array.