>on killSpaces inStr
>   if inStr.word.count < 2 then return inStr.word[1]
>   return inStr.word[1] & killSpaces(inStr.word[2..the maxInteger])
>end



Pretty cute. The only problem is that if you feed a lot of text at 
this you get an out of memory error from Director.


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/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