Operator Type:
Operator Scope of Action:
Operator Purpose:
Operator First Added:
Operator Altered:
Function [other Function type actions]
Item [operators of similar scope]
Stream parsing [other Stream parsing operators]
9.1.0
Stream.captureRest("targetAttribute")
Stream.captureRest
Stores all of the Stream from the current position to the end in targetAttribute, and returns an empty string.
If the targetAttribute is omitted the Stream is advanced to the end so processing ceases.
The attribute given for targetAttribute can be a quoted literal string, e.g. ("Text")
for $Text. Or it can be an unquoted variable/loopVariable, e.g. (vString)
for a variable 'vString'.