QMDcount()

Top  Previous  Next

 

The QMDcount() function counts delimited items in a string.

 

 

Format

 

VBQMDcount(ByVal Src as String, ByVal Delim as String) as Long

 

Cint QMDcount(char * Src, char * Delim)

 

where

 

Srcis the string to be processed

 

Delimis the delimiter character. If Delim is more than one character long, only the first character is used.

 

 

The QMDcount() function is usually used to count fields, values or subvalues in a dynamic array but can be used to count elements in any string that is separated by some single character delimiter.