Top  Previous  Next


The QMField() function extracts one or more components of a delimited string. It is analogous to the QMBasic FIELD() function.


The function arguments are:


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 less than one, one component is returned.



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


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


The example program fragments below take a variable Name holding a person's first and last names separated by a space and returns just their first name.







hmtoggle_plus1QMBasic Class Module