Parsing formatted text

Corrado Santoro csanto@REDACTED
Tue Jul 12 12:05:59 CEST 2005


What about "yecc"?

--C.

Joel Reymont wrote:
> Folks,
> 
> How would you parse a line like this in Erlang?
> 
> TRADE,X_._.,20040901,00:00:02,1105.25,,1
> 
> I would need to skip the first two fields and convert the rest from  ascii.
> 
>     Thanks, Joel
> 
> -- 
> http://wagerlabs.com/uptick
> 
> 
> 


-- 
======================================================
Eng. Corrado Santoro, Ph.D.

University of Catania - Engineering Faculty
Department of Computer Science and
Telecommunications Engineering
Viale A. Doria, 6 - 95125 CATANIA (ITALY)

Tel: +39 095 7382144 Int. (5) 8035
      +39 095 7382380
      +39 095 7382365
      +39 095 7382364

VoIP: sip:8035@REDACTED

Fax: +39 095 7382397

EMail: csanto@REDACTED
Personal Home Page:
             http://www.diit.unict.it/users/csanto

NUXI Home Page:
             http://nuxi.iit.unict.it
======================================================




More information about the erlang-questions mailing list