delete end chars

Colin Holgate coiin at verizon.net
Sun Aug 24 11:48:34 EDT 2014


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




More information about the use-livecode mailing list