Returns the number of delimited substrings in a string.
function returns the number of delimited substrings that appears in string
String matching is case-sensitive. Numbers are converted to canonical form, with leading and trailing zeroes and plus signs removed. Numeric strings are not converted to canonical form.
is an empty string ("") DCOUNT
returns a count of 0.
The following example uses the DCOUNT
function to return the number of Value Mark delimited substrings in a dynamic array:
PRINT DCOUNT(colors,CHAR(253)); ! Returns 4
© 1997-2019 InterSystems Corporation, Cambridge, MA