QMDcount()

QMDcount()

Top  Previous  Next

 

The QMDcount() function counts delimited items in a string. It is analogous to the QMBasic DCOUNT() function.

 

The function arguments are:

 

Srcis the string to be processed

 

Delimis the delimiter separating substrings. This may be more than one character.

 

 

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 any substring.

 

This function is evaluated on the client system and does not require a server connection to be open.

 

The examples below return the number of comma separated items in the Address variable.

 

 

hmtoggle_plus1C

 

hmtoggle_plus1VB.Net

 

hmtoggle_plus1QMBasic Class Module

 

hmtoggle_plus1Java

 

hmtoggle_plus1Python