Almost worked
Thanks for your answer. However, I didn't provide enough information. The document format is:
First Item: some variable information
Second Item: more variable information
Third Item: still more
Fourth Item: even more
Fifth Item: name1, name2 (or name1, name2, name3)
The above pattern repeats 5 or 10 times in the document. Your code does a great job at inserting the "and" as I requested. However, it also places the "and" in other places in the document, like at the beginning of each new line. I'm going to see if I can work with your suggestion but would appreciate any additional help.
|