QMField()

Top  Previous  Next

 

The QMField() function extracts one or more components of a delimited string.

 

 

Format

 

VBQMField(ByVal Src as String, ByVal Delimiter as String, ByVal Start as Long,

       Optional ByRef Occurrences as Long) as String

 

Cchar * QMField(char * Src, char * Delimiter, int Start, int Occurrences)

 

where

 

Srcis the string to be processed.

 

Delimiteris the single character delimiter separating components of the string.

 

Startis the number from one of the first component of Src to be returned.

 

Occurrencesis the number of delimited of components of Src to be returned. If omitted (VB only) or less than one, one component is returned.

 

 

The QMField() function returns the specified substring components of Src.