>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!]
- <lingo-l> removing spaces from a string Mark Bishop
- Re: <lingo-l> removing spaces from a st... R. Bhakti Klein
- Re: <lingo-l> removing spaces from a st... Jonas Brink Worsøe
- Re: <lingo-l> removing spaces from a st... Mark A. Boyd
- Re: <lingo-l> removing spaces from ... Colin Holgate
- Re: <lingo-l> removing spaces f... Mark A. Boyd
- Re: <lingo-l> removing spaces f... Carl West
- Re: <lingo-l> removing spaces from ... Jakob Hede Madsen
- Re: <lingo-l> removing spaces f... Colin Holgate
- Re: <lingo-l> removing spac... Mark A. Boyd
- Re: <lingo-l> removing... Jakob Hede Madsen
- Re: <lingo-l> removing spaces f... Mark A. Boyd
