ysimon
asked on
Read veriable length parameter from a string
I have a text file and each line has N variables(string) between " and ". Each variable length is not fixed and could be 0. How can I use a simple way to read them one by one.
"111","","defg"
"222","ABCDE","V22ds"
"321","dasdsa","s"
...
Thanks
"111","","defg"
"222","ABCDE","V22ds"
"321","dasdsa","s"
...
Thanks
ASKER
Could you please tell me more about CSV file. Can I build a database for that kind of text file?
ASKER
Could you please tell me more about CSV file. Can I build a database for that kind of text file?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Here is another one you could look at:
ftp://ftp.cdrom.com/pub/delphi_www/ftp/d20free/csvsinfo.zip
"This component takes a comma seperated string as input and splits it up into seperate fields that can be read out of a StringList. Handy for reading comma seperated files. See http://www.skybound.club.tip.nl for a sample application"
Cheers,
Raymond.
ftp://ftp.cdrom.com/pub/delphi_www/ftp/d20free/csvsinfo.zip
"This component takes a comma seperated string as input and splits it up into seperate fields that can be read out of a StringList. Handy for reading comma seperated files. See http://www.skybound.club.tip.nl for a sample application"
Cheers,
Raymond.
ASKER
Very good
I have solved my problem by using the CSV.
Thanks
I have solved my problem by using the CSV.
Thanks
Kelly