> I don't understand why you have to program this
I don't know if it is to be a one-shot deal or not. Certainly it would have been simpler to do it the way you describe - provided one was well versed in creating word processing macros that picked words out of the middle of a line. However, if the process needs to be automated then the less software involved the better, in my opinion.
Besides, it was good practice
