At 11:24 AM -0700 5/26/04, Thomas Higgins wrote:
> Is there a way of expressing "delete the last char of myString" using
dot syntax?

Yes: delete myString[myString.char.count]

Thanks, Tom (and others). As far as I can tell, this use of 'delete' is undocumented. There is an example of this usage on page 433 of the Scripting Reference under "offset" but nothing under "delete". (Just trying to RTFM instead of posting a message.)


Tom
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Jacobs        -        InterVision
---------------------------------------------------------------------------
(541) 343-7993   http://www.intervisionmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email [EMAIL 
PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping 
with programming Lingo.  Thanks!]

Reply via email to