gettaglocations
PAGE
,
PREFIX
,
SUFFIX
,
POSITIONS

The gettaglocations statement locates all matching tags within some text.


Parameters

This statement has four parameters:

page – text that may contain tag.

prefix – opening tag.

suffix – closing tag.

positions – returns a carriage return separated Text Array. Each line contains the position of the tag, a semicolon, then the length of the tag.


Description

This statement locates all matching tags within some text. This example assumes the current database has a field named Page that contains HTML.

local fontSpots
gettaglocations Page,"<font",">",fontSpots

If the Page field contains one or more font tags, the fontSpots variable will be set to something like this.

173;12
219;18
342;20

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.