Click here to Skip to main content
15,909,051 members
Home / Discussions / C#
   

C#

 
GeneralTab delimited parsing help Pin
CeleryGod7-Mar-08 8:57
CeleryGod7-Mar-08 8:57 
I've got multiple tab delimited files, but they are not the typical format. Here's the type of formatting that's used:

Field1: blah
Field2: blah
Field3: blah
Field4: blah
Field5: blah
Field6: Friday, October 29, 2004
Field7: Friday, February 15, 2008 @ 12:22:26 PM

Then, at the end of the file, there are some fields like this:

2007/11/25 20:41:22 11.111.111.111 on
2007/11/25 23:07:36 11.111.111.111 off
2007/12/20 19:06:00 11.111.111.111 on
2007/12/20 22:48:07 11.111.111.111 off


I'd like to parse these files and put them all either in to a database or one csv file, but I can't figure out how to do this since each row is a field, not a column. I only need the right most field for fields 1-7, and the very last IP address in the file. Any ideas?
GeneralRe: Tab delimited parsing help Pin
snorkie7-Mar-08 9:13
professionalsnorkie7-Mar-08 9:13 
GeneralRe: Tab delimited parsing help Pin
KaptinKrunch7-Mar-08 10:57
KaptinKrunch7-Mar-08 10:57 
GeneralXML comments header Pin
Imtiaz Murtaza7-Mar-08 8:45
Imtiaz Murtaza7-Mar-08 8:45 
GeneralRe: XML comments header Pin
led mike7-Mar-08 9:22
led mike7-Mar-08 9:22 
GeneralRe: XML comments header Pin
Not Active7-Mar-08 10:04
mentorNot Active7-Mar-08 10:04 
GeneralRe: XML comments header Pin
led mike7-Mar-08 10:44
led mike7-Mar-08 10:44 
GeneralRe: XML comments header Pin
Kevin McFarlane7-Mar-08 12:15
Kevin McFarlane7-Mar-08 12:15 
GeneralRe: XML comments header Pin
Not Active7-Mar-08 15:15
mentorNot Active7-Mar-08 15:15 
QuestionContext Sensitive Help Help? Pin
UTRocketFan7-Mar-08 7:59
UTRocketFan7-Mar-08 7:59 
GeneralRe: Context Sensitive Help Help? Pin
Giorgi Dalakishvili7-Mar-08 8:35
mentorGiorgi Dalakishvili7-Mar-08 8:35 
Questionexecute jar file in c# Pin
CreativeR867-Mar-08 7:01
CreativeR867-Mar-08 7:01 
GeneralRe: execute jar file in c# Pin
Jimmanuel7-Mar-08 9:27
Jimmanuel7-Mar-08 9:27 
GeneralRe: execute jar file in c# Pin
Luc Pattyn7-Mar-08 9:28
sitebuilderLuc Pattyn7-Mar-08 9:28 
GeneralRe: execute jar file in c# Pin
CreativeR867-Mar-08 21:24
CreativeR867-Mar-08 21:24 
GeneralRe: execute jar file in c# Pin
Luc Pattyn8-Mar-08 1:31
sitebuilderLuc Pattyn8-Mar-08 1:31 
GeneralRe: execute jar file in c# Pin
CreativeR868-Mar-08 1:44
CreativeR868-Mar-08 1:44 
GeneralRe: execute jar file in c# Pin
Luc Pattyn8-Mar-08 2:58
sitebuilderLuc Pattyn8-Mar-08 2:58 
Generaldetermining transfer rate Pin
damianrda7-Mar-08 6:26
damianrda7-Mar-08 6:26 
GeneralRe: determining transfer rate Pin
snorkie7-Mar-08 9:56
professionalsnorkie7-Mar-08 9:56 
GeneralDatagridview insert and delete problems concurrency error Pin
Member 39465827-Mar-08 6:10
Member 39465827-Mar-08 6:10 
QuestionSCardTransmit C# error Pin
fuffoso7-Mar-08 4:28
fuffoso7-Mar-08 4:28 
NewsHelp me to encrypt text file into an image Pin
thucbv7-Mar-08 2:58
thucbv7-Mar-08 2:58 
GeneralRe: Help me to encrypt text file into an image Pin
DaveyM697-Mar-08 3:14
professionalDaveyM697-Mar-08 3:14 
AnswerRe: Help me to encrypt text file into an image Pin
thucbv7-Mar-08 4:48
thucbv7-Mar-08 4:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.