delete end chars
Richmond
richmondmathewson at gmail.com
Sun Aug 24 11:49:45 EDT 2014
On 24/08/14 18:48, Colin Holgate wrote:
> 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
>
Use my "cruder" method :)
Richmond.
More information about the use-livecode
mailing list