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]

Actually, when I try this I get: "Handler not found in object"

However, Jeremy's suggestion...
 delete myString.char[myString.length])
...does the trick.

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