Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TEXTMERGE question
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
TEXTMERGE question
Miscellaneous
Thread ID:
00630433
Message ID:
00630433
Views:
52
Hello

I have some difficulties to figure out how to do the following operation (it is probably simple but I don't see it):

I have a web page in a variable. This page has stuff like
<<lname>>
and I want to replace this with the content of the variable lname.
So the first think I did was a mystr=FILETOSTR("mypage.html"). Ok now I have my web page in my variable.
But how can I apply the textmerge on this variable and keep the result in it ?
Example:
var1="<hml>Hello <<lname>> !</html>"
after the magic:
var1="<html>Hello Eric !</html>" 
Thanks
Eric
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Next
Reply
Map
View

Click here to load this message in the networking platform