data from text extraction
[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]
Posted by Rob Pouwelse on November 08, 2001 at 14:43:19:
I've got a question..: how can i extract certain values (int's or string's) from a text file?? it's like this: Nov 5 09:00:00 gateway newsyslog[14491]: logfile turned over //this is the first line
Nov 5 09:02:15 gateway sendmail[14502]: JAA14502: from=<bounce-ntsysadmin-869560@lyris.sunbelt-software.com>,
size=2766, class=0, pri=32766, nrcpts=1, msgid=<LYRIS-869560-19766-2001.11.05-03.01.37--J.Weijnen#matas.nl@lyris.sunbelt-software.com>,
proto=SMTP, relay=lyris.sunbelt-software.com [207.90.4.67]
Nov 5 09:02:16 gateway sendmail[14503]: JAA14502: to=jean, delay=00:00:02, xdelay=00:00:00, mailer=cyrus, stat=Sent now i have to extract certain values (the ones behind the "=" but not all) The lines are random in order... I haven't the foggiest on how to do it.. please help.. tnx, in advance
Rob Pouwelse
Related Articles and Replies
[ Related Articles and Replies ] [ DelphiLand FAQ ] [ Delphi Tutorials ]
|