Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Delete first character in text file.
Message
De
05/01/2004 07:22:23
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/01/2004 07:02:52
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00863792
Message ID:
00863804
Vues:
9
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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform