![]() ![]() |
|
FIELDSThe FIELDS function is an extension of the FIELD function. It returns a dynamic array of multi-character delimited fields from a dynamic array of strings.
COMMAND SYNTAXFIELDS(DynArr, Delimiter, Occurrence{, ExtractCount})
SYNTAX ELEMENTSDynArr should evaluate to a dynamic array.
NOTESIf the emulation option jbase_field is set then the field delimiter may consist of more than a single character, allowing fields to be delimited by complex codes. If extractCount is greater than 1 then only the first character of delimiter is used, regardless of the setting of jbase_field.
EXAMPLESThe following program shows how each element of a dynamic array can be changed with the FIELDS function.
The above program creates 3 dynamic arrays. v represents a value mark. s represents a sub-value mark.
|