Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Parsing out parts of text file
Message
De
04/02/2008 09:34:40
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01288936
Message ID:
01289029
Vues:
15
Can there be a nested tag within < IMG

If so, will this work or will you extract only the portion up to the end of the last nested tag?

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform