Tinderbox v9 Icon

Stream.captureLine[("targetAttribute")]


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.captureLine("targetAttribute")

Stream.captureLine

Optionally stores the rest of the line in the specified targetAttribute, and returns the string that follows this line and the Stream moves forwards to the end of the current line.

If the targetAttribute is omitted the Stream is advanced to the next line without any data being saved.

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'.



A Tinderbox Reference File : Actions & Rules : Operators : Full Operator List : Stream.captureLine[("targetAttribute")]