GetText()



Description

The GetText() method returns a text extracted from the input source based on the provided text selection.

Syntax

Function GetText( tag, x, dx, y, dy, bottom )

Parameters:

string tag - the input tag. This is a regular expression string
integer x   - position from the left
integer dx - width of the text block
integer y  - line number from the top
integer dy - number lines in the text block
string bottom - the bottom delimiter (also a regular expression string)

Return Values

string - the text segment

An exception is thrown on an error

See also