Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21266

help using (for statement ) to grab certain strings

$
0
0
i have richtextbox1 that has html code and now i need to understand how to use a for statement to grab all strings that has same string in html example line below

html code in richtextbox1 there are so many lines like this i need to only extract those lines and populate them in richtextbox2 with vbnewline so there is space between them

i need the line with read highlighted

Code:

<td class="QuranDataNumber norm_row2" valign="top">
&nbsp;</td><td class="QuranDataNumber chapnumcol norm_row2" valign='top'>[Yusuf Ali]</td>            <td valign="top" class="QuranData norm_row2" dir="ltr">
this is a test text.</td>

Code:

<td class="QuranDataNumber alt_row2" valign="top">
&nbsp;</td><td class="QuranDataNumber chapnumcol alt_row2" valign='top'>[Yusuf Ali]</td>            <td valign="top" class="QuranData alt_row2" dir="ltr">
second line text test</td>



how do i use for statment mate.

please

Viewing all articles
Browse latest Browse all 21266

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>