>Hi,
>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.
>
>Please advise.
>
>Thanks.
>Derek
Check these commands - it should be pretty easy to do:
FILETOSTR() - converts file to a string
STRTRAN() - does what your asking, replaces word or char with another word or char
STRTOFILE() - converts string to file
ICQ 10556 (ya), 254117