Re: Newbie needs help with text files
- Posted by Kat <gertie at PELL.NET> Jun 04, 2000
- 480 views
On 3 Jun 2000, at 17:02, koda wrote: > > ------=_NextPart_000_0077_01BFCD7D.8137FF40 > charset="iso-8859-2" > > > In other words, can I take a text file that looks like this: > > > > 12.5, 890, 7.23, Andy Serpa, 84.3 > > > > and turn it into a sequence like this: > > > > {12.5, 890, 7.23, "Andy Serpa", 84.3} > > > I have that one for you. Look at attached file. I have collected a > couple of my functions into this file taht will help you. > > If you want that words are separated into sequence where commas are, > it's much simpler thing, I can write it for you if you want. Yeas, just use parse(TheInputString,",") from the archives. Kat