in reply to Deleting all the data after a specific position in a text file.

Is there a better way than using truncate ?

Define "better". Faster? Less code? Data wiped according to some military standard?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)
  • Comment on Re: Deleting all the data after a specific position in a text file.