The QMExtract() function extracts a field, value or subvalue from a dynamic array.
Format
VB | QMExtract(ByVal Src as String, ByVal Fno as Integer, ByVal Vno as Integer, ByVal Svno as Integer) as String |
C | char * QMExtract(char * Src, int Fno, int Vno, int Svno) |
where
Src | is the dynamic array to be processed |
Fno | is the number of the field to be extracted. If less than 1, 1 is assumed |
Vno | is the number of the value to be extracted. If less than 1, the entire field is extracted. |
Svno | is the number of the subvalue to be extracted. If less than 1, the entire value is extracted. |
The QMExtract() function returns the given field, value or subvalue from the source string. If the required item is not found, a null string is returned.
|