Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to replace char. or string in a text file ?
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01526828
Message ID:
01526832
Views:
58
I forgot about that limit...:) I suppose if the file is to big they can use FREAD() and FPUT()

>If file is small (< 16MB)
>
>lcText = FILETOSTR()
>* Find end replace
>STRTOFILE()
>
>
>
>>I want to use VFP to write a function to open a text file and search
>>a word or a char. and then replace it to another char.
>>How to code it ?
>>or some existing function suggested.
>>
ICQ 10556 (ya), 254117
Previous
Reply
Map
View

Click here to load this message in the networking platform