Hi, I was wondering if someone can help me get started on merging text files, sort of like mail merging. I have two text files, one is a template. Both these text merge to make a third file.

Eg in a template it is

<<name>> <<address>>

Welcome, <<name>>, you live at <<address>>.

Eg in the list of people and address separated on a new line with delimiters.

Paul%n% where %n% is delimiter-
50 Black Street%a%

Now im unsure of how to use the template and everything. Some help starting off would be most helpful.