Efficient file search and extract

Sativa via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Tue Nov 4 12:12:21 PST 2014


Is there a very easy way to search a file for a string, then 
extract to a new file everything from that match on to the end of 
the file?

I basically want to remove a header from a file(it's length is 
not fixed though).

It seems I'm having to convert bytes to chars to strings and back 
and all that mess, which is not very elegant.


More information about the Digitalmars-d-learn mailing list