a html string question 
Author Message
 a html string question

:
how to get a string between tag
<xx> and </xx>
a htm file
<html>
....
<xx>
kkkkkkkkkkkkkk
kkkkkkkkkkkkkk
</xx>
...
</html>

Any help to welcom

Justin



Thu, 19 Aug 2004 22:54:57 GMT  
 a html string question
lStart = Instr(1, MyData, "<xx>") + Len("<xx>")
lEnd = Instr(lStart, MyData, "</xx>")

MiddleData = Mid(MyData, lStart, lEnd - lStart)

Max Bolingbroke


Quote:
> :
> how to get a string between tag
> <xx> and </xx>
> a htm file
> <html>
> ....
> <xx>
> kkkkkkkkkkkkkk
> kkkkkkkkkkkkkk
> </xx>
> ...
> </html>

> Any help to welcom

> Justin



Thu, 19 Aug 2004 23:28:15 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. convert a string in a HTML string ?

2. Newbie Question: Dim A() as String /Dim A as String()

3. Simple logical shift + logical and question and string to byte question

4. HTML string to Word to PDF

5. Inserting HTML string into Word document

6. Concatinating strings in HTML

7. Passing an HTML string to a parent VB form

8. Extracting information from a HTML string

9. How to Read an HTML file for a string

10. Displaying HTML string

11. HTML file into a string?

12. html file to String - How?

 

 
Powered by phpBB® Forum Software