SetFromLine()


Description

This method tries to set an output field value based on a specified line.

Syntax

Function SetFromLine( index|name, tag, y, dy, x, left, right )

Parameters:

variant index or name 
 integer index - field index (starting from 1)
 string name - the name of the output field
string tag - the input tag regular expression string
integer y  - line number
integer dy - number lines to analyze
integer x   - position in the line
string left   - the left delimiter regular expression
string right - the right delimiter regular expression

Return Values

boolean - true on success
An exception is thrown on an error