Link to home
Start Free TrialLog in
Avatar of dpms
dpms

asked on

Parsng text

I want to take a text file (ex: C:\Demo\emp.txt) containing code numbers and their cooresponding descriptions and open it up and parse out the text to different data fields, but I'm not familiar with how to do this with Delphi?????
Avatar of ZifNab
ZifNab

Hi dpms,

Inter has made a tool for this some days ago. I can send it to you...

Regards, ZiF.
You might want to try Lex and Yacc for Turbo Pascal.  Its up to version 4.01 now and it is just like the Lex and Yacc on Linux.  If you are interested:

http://www.musikwissenschaft.uni-mainz.de/~ag/tply/tply.html

Lex builds the lexical analyzer while yacc builds a compiler to actually read the lexical tokens you created with lex.  You can also use them separately if you want.  

If you need more info, just write.

Scott
ASKER CERTIFIED SOLUTION
Avatar of ssite
ssite

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial