On 24/6/99 5:26 am Carl Manaster <[EMAIL PROTECTED]> wrote:
>This:
>> put char 3 to end of word of container1 into container2
>
>reminded me of one of the pretty simple things I've had trouble doing, I
>think in SuperTalk, but maybe I'm thinking of AppleScript:
>
>put char 3 to LAST of line 7 into whatsLeft
>
>It seems like I'm always having to do something along the lines of:
>
>put the number of chars of line 7 into lastChar
>put char 3 to lastChar of line 7 into whatsLeft
>
>or
>
>put char 3 to (the number of chars of line 7) of line 7 into whatsLeft
MetaCard allows negative chunk expressions for this. Expressions that
start with a - read from the end of the container.
put char 3 to -1 of line 7
Regards,
Kevin
Kevin Miller <[EMAIL PROTECTED]> <http://www.xworlds.com/>
Cross Worlds Computing, MetaCard Distributors, Custom Development.
Tel: +44 (0)131 672 2909. Fax: +44 (0)1639 830 707.