Another problem with this approach is that there may be other cases where the letters are in the string, and have a cr after them. All of the cases would be removed, not just the last one.
On Aug 24, 2014, at 11:38 AM, Peter M. Brigham <pmb...@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 _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode