Imports a string from a web page and sets it as the caption.
Syntax:
Syntax:
ImportCaption(url,start,end,id)
Parameters:
url - URL of a page to import from. The value of url can also be this, in which case the source of the currently loaded page will be used to import from. start - starting string end - ending string id - specifies the id of the control to set the caption for
Remarks:
This function imports all text, including any HTML code between the specified start and end strings.
If the start value is omitted, the start of the file is used. If end is omitted, end is assumed to be the end of the file. This means that Import('http://www.trellian.com',,) would import the entire page.
Example:
This function loads a page and imports all text between the Rank: and the next </td> tag and sets it as the button caption.