![]() ![]() |
|
DCOUNTThe DCOUNT() function counts the number of field elements in a string that are separated by a specified delimiter.
COMMAND SYNTAXDCOUNT(expression1, expression2)
SYNTAX ELEMENTSexpression1 evaluates to a string in which fields are to be counted.
NOTESThe delimiter string may consist of more than 1 character. If expression1 is a NULL string, then the function will return a value of 0. The delimiter string may consist of any character, including system delimiters such as field marks or value marks. Also see COUNT.
EXAMPLESA = "A:B:C:D" will display the value 4. |