Parsing formatted text
Ola Andersson A (AL/EAB)
Tue Jul 12 11:44:22 CEST 2005
string:tokens may be a good start.
> -----Original Message-----
> [mailto:]On Behalf Of Joel Reymont
> Sent: den 12 juli 2005 11:31
> To: Erlang Users' List
> Subject: Re: Parsing formatted text
> I will rephrase a bit... How would you parse the date, time and
> numbers in the string below. I understand that I can extract the
> fields using binary matching and I'm doing that already.
> I wish there was a version of io:format that read data from a
> On Jul 12, 2005, at 11:27 AM, Joel Reymont wrote:
> > Folks,
> > How would you parse a line like this in Erlang?
> > TRADE,X_._.,20040901,00:00:02,1105.25,,1
More information about the erlang-questions