I asked my buddy Barney Google and got over a million hits so it seems you're not the first to ask. Here's one result
https://stackoverflow.com/questions/...-all-for-any-d
EDIT
As for the cutting up to a word, you'll need a reference to Microsoft Scripting Runtime library, or you might get away with just using Dir object (I can't remember which library that one belongs to). I have never used either to copy part of a text file though.
The more we hear silence, the more we begin to think about our value in this universe.
Paraphrase of Professor Brian Cox.