htmltableheight(
HTMLTABLE
)

The htmltableheight( function calculates the height (number of rows) in an HTML table.


Parameters

This function has one parameter:

htmltable – the text containing the HTML table.


Description

This function calculates the height (number of rows) in an HTML table. It assumes that the table is a regular matrix (no rowspan tags).

htmltableheight("<tr><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td></tr>
    <tr><td></td><td></td><td></td></tr>") ☞ 5

Use the htmltablewidth( function to calculate the number of columns in a table.

Note: This function is equivalent to:

tagcount(thetable,"<tr","</tr>")

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.