Compatible with:
DOS Maximite CMM MM150 MM170 MM+ MMX Picromite ArmiteL4
Armite F4
ArmiteH7 Picomite CMM2
Syntax:
FIELD$( string1, nbr, string2 [, string3] )
Description:
Returns a particular field in a string with the fields separated by delimiters.
'nbr' is the field to return (the first is nbr 1). 'string1' is the string to
search and 'string2' is a string holding the delimiters (more than one can be
used).
'string3' is optional and if specified will include characters that are used to
quote text in 'string1' (ie, quoted text will not be searched for a delimiter).
For example:
S$ = "foo, boo, zoo, doo"
r$ = FIELD$(s$, 2, ",")
print r$
Output:
boo
s$ = "foo, 'boo, zoo', doo"
r$ = FIELD$(s$, 2, ",", "'")
print r$
Output:
'boo, zoo'
Last edited: 25 February, 2021