![]() ![]() |
|
COUNTThe COUNT function returns the number of times that one string occurs in another.
COMMAND SYNTAXCOUNT(expression1, expression2)
SYNTAX ELEMENTSBoth expression1 and expression2 may evaluate to any data type but logically they will evaluate to character strings.
NOTESThe count is made on overlapping occurrences as a pattern match from each character in expression1. This means that the string jjj occurs 3 times in the string jjjjj. Also see DCOUNT.
EXAMPLES
|