At 2:33 PM -0400 10/5/05, you wrote:
Just can't seem to get it. The following verbose works, so I should
just use it and be done with it. But I'm still curious. How would
the following look in "contemporary" syntax:
put "-" into char 5 of someString
--
Cole
Hi Cole,
Here's my 'true' dot syntax solution :
(using 'put' feels like cheating to me)
someString = someString.char[1..4] & "-" &
someString.char[6..someString.char.count]
That having been said, 'put' works so straightforwardly that the
hybrid (verbose + dot) seems like a much better approach. :)
hth
-Buzz
[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!]