Parsng text

Posted on 1998-04-29
Medium Priority
Last Modified: 2010-04-06
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?????
Question by:dpms
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 1339502
Hi dpms,

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

Regards, ZiF.

Expert Comment

ID: 1339503
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:


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.


Accepted Solution

ssite earned 100 total points
ID: 1339504
Just lay it out like an ini file and use TInifile !

Featured Post

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question