Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Delete first character in text file.
Message
From
05/01/2004 07:02:52
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
05/01/2004 06:42:27
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00863792
Message ID:
00863800
Views:
11
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?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform