delete end chars

Colin Holgate coiin at verizon.net
Sun Aug 24 12:04:51 EDT 2014


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 <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




More information about the use-livecode mailing list