Agnes,
FileToSTr() and StrToFile() are available in VFP6.
For older versions, UDFs with these names are available in the download section.
>Hi Ger,
>If it is only the very first char , not the first in each line then
>
>lcFile = 'YourFile'
>STRTOFILE(SUBSTR(FILETOSTR(lcFile),2),lcFile)
>
>Agnes
>
>Update:
>
>You need VFP 7.0 or higher to do that.
>>Hi,
>>
>>I need to open a text file, delete the first character which is a ? and then
>>close the file again. Is there an easy way to do this?
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)