What if the field happen to already end with a cr? On Aug 24, 2014, at 11:38 AM, Peter M. Brigham <pmbrig at gmail.com> wrote: > function zapAtEndOfLine tStr, tContainer > put cr after tContainer > replace tStr & cr with cr in tContainer > return char 1 to -2 of tContainer > end zapAtEndOfLine