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