Hi All,
how can I parse a string by taking out data from a web
page's source code e.g in the code extract below, I would
like to take out the value "6" (before the "<br>" tag)
and take out "(100%)" from the line " (100%)
". All these values appear in the first table cell
(<TD>) ...
**start of source code extract**
<table width="100%" valign="bottom" cellspacing="0"
cellpadding="0" border="0">
<tr>
<td valign="bottom"
align="center" class="QRVLTH">
6
<br>
(100%)
<br>
<img
border="0" src="../ergraphics/vbar2.gif" width="10"
height="100" border="0">
</td>
</tr>
**end of source code extract**
What functions would best be used for this type of
parsing. Has anyone created a function diverse enough to
handle this. Any help/sample source code will be much
appreciated.
Thanks in advance
Derek
.
how can I parse a string by taking out data from a web
page's source code e.g in the code extract below, I would
like to take out the value "6" (before the "<br>" tag)
and take out "(100%)" from the line " (100%)
". All these values appear in the first table cell
(<TD>) ...
**start of source code extract**
<table width="100%" valign="bottom" cellspacing="0"
cellpadding="0" border="0">
<tr>
<td valign="bottom"
align="center" class="QRVLTH">
6
<br>
(100%)
<br>
<img
border="0" src="../ergraphics/vbar2.gif" width="10"
height="100" border="0">
</td>
</tr>
**end of source code extract**
What functions would best be used for this type of
parsing. Has anyone created a function diverse enough to
handle this. Any help/sample source code will be much
appreciated.
Thanks in advance
Derek
.