Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mline and other functions
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00802346
Message ID:
00802355
Vues:
19
>I used filetostr and converted my html to a string


>I need to replace all the content between " " on the
right side of with variable of my table

>I have several lines as below
(omited html comands because of Universal Thread rules)

*************************************
name="address" value=" " td
name="name" value=" " td
*************************************


>I started the code below but can't go ahead

>mline (text,"address") ** retrive the line of the address
>mline (text,"name") ** retrive the line of the address

>Any Idea ?


You are not understanding something basic, MLINES() will give you an especific line of your string based on an line numer, do mustn't expect to get you an especific line based on an char.
May be you have to use ALINES() and loop through your string looking for something like address.
   FOR lnCounter = 1 to ALINES(laCodeHTML,lcStringHTML)
      ?laCodeHTML[lnCounter]
   ENDFOR
FYI, To send HTML code you can use < PRE > < /PRE > Tags
   <HTML>
   </HTML>
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform