This function extracts a specified range from a multifield value and returns a new multifield value containing just the subsequence.
Syntax
(subseq$ <multifield-value> <begin-integer-expression> <end-integer-expression>)
where the second and third arguments are integers specifying the begin and end fields of the desired subsequence in <multifield-expression>.
Example
CLIPS> (subseq$ (create$ hammer drill wrench pliers) 3 4) (wrench pliers) CLIPS> (subseq$ (create$ 1 "abc" def "ghi" 2) 1 1) (1) CLIPS>