Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Mline and other functions
Message
From
20/06/2003 14:12:33
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00802346
Message ID:
00802355
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform