bBox_ParsePositionList( text )
Using a syntax very similar to the POSIX cut command, this function will convert the given field list expression into an array of characters (flags) to indicate which fields were selected by the expression.
Parameters: text: field expression using numbers, dashes, and commas Output result of scanned text after substitution Error: none (blank result)
––––––––––
First appeared in: 1.04
Examples in demo file: 0
Compatibility: Client, Server, macOS, Ubuntu, Server, WebDirect, WPE
––––––––––
The flags used for the result are characters, either "0" or "1". A plus symbol ("+") may be added at the end to indicate a range with no end (infinite).
Some examples of possible expressions and their results are:
"2,4,6,8": "01010101"
"2-3,7": "0110001"
"1,5-": "10001+"
––––––––––