in reply to Deleting all the data after a specific position in a text file.
Is there a better way than using truncate ?
What problem do you have with using truncate?
It is a single call and quite efficient.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Deleting all the data after a specific position in a text file.
by pankaj_it09 (Scribe) on Nov 18, 2011 at 13:06 UTC | |
by choroba (Cardinal) on Nov 18, 2011 at 13:29 UTC | |
by BrowserUk (Patriarch) on Nov 18, 2011 at 19:27 UTC |