Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get rid of hyperlink
Message
De
14/01/2013 09:14:02
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01562409
Message ID:
01562427
Vues:
46
>I am importing from a text file to a table timetemp.dbf
>the problem is that part of the text string i am importing is hyperlink
>example:
>mytext string 122333 end of string. ****the 122333 is hyperlink in the original email from which it is imported.
> the next command in programming is
>
>append from mytext.txt type sdf
>replace all rinfo with ltrim(rinfo) 
>
>is there a way for me to remove the hyperlink status associated with the numbers.
>I thought that text file would not carry the hyperlink tag. but apparently it does.
do while "<"$lcString
   lcCut=strextract(lcString, "<", ">",1,4)   && or whatever the flag is to mean "include delimiters"
   lcString=strtran(lcString, lcCut, "")
enddo
Here I'm assuming that the tags are opened and closed on the same line. If not, you may have to do a filetostr("mytext.txt"), remove tags, then use aLines() to get the text into an array and then loop thorough the array instead of scanning through your cursor.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform