In fact, I think you can use the list function for your If Statements too. So the entire code would be,
var text WordString = List("-", [Grant Acct], [GL Code], [Function Code], [Department Code], [Future Code];
var text WordStringOne = List("-", [Grant Acct1], [GL Code1], [Function Code1], [Department Code1], [Future Code1];
var text WordStringTwo = List("-", [Grant Acct2], [GL Code2], [Function Code2], [Department Code2], [Future Code2];
....
List(",\n\n", $WordString, $WordStringOne, $WordString Two,.....)
You can label the variable any name, as long as it is alpha characters only (no numbers). I just realized I used Condition in my first reply and Wordstring in my second....whatever you want to name it that is descriptive works.
------------------------------
Mike Tamoush
------------------------------