Delete chars at the end of a text file

Heinz billgates at microsoft.com
Fri Jan 12 17:58:28 PST 2007


Hi,

Now i'm trying to delete the last n characters at the end of a text file
making the file shorter in size and pushing the EOF n places back, i try
replacing the last char with "" and also std.string.whitespace but both
doesn't do the job.

Any ideas?

Thanks in advance.


More information about the Digitalmars-d-learn mailing list