Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing out parts of text file
Message
 
To
04/02/2008 01:21:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01288936
Message ID:
01288938
Views:
17
This message has been marked as the solution to the initial question of the thread.
Jos,

Maybe something like this
LPARAMETERS tcHTMLFileName

lcHTML		= FILETOSTR(tcHTMLFileName)
DO WHILE AT('<img', lcHTML) # 0
	lcHTML		= STRTRAN(lcHTML, STREXTRACT(lcHTML, '<img', '>', 1, 1 + 4), '')
ENDDO
Completely untested and written "in-situ" so the parameters order might not even be right
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform