Below is a sample message
contained in a txt file which i am trying to parse ,This sample message
does not have any delimiters between the field elements.
Plase help me in parsing the below sample message
NAME
FBI
NO. INQUIRY DATE
Lastname,Firstname,Middlename
123456
2008/11/09
SEX
RACE BIRTH DATE HEIGHT WEIGHT
EYES HAIR BIRTH PLACE
M W 2008/11/09 505 145 BRO BLK Newyork
ALIASNAMES
Fname2,Lasname2
Fname3,Lasname3
Fname4,Lasname4
Parsing a message in c#
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Mike Hankey62 reputationPosted Sep 12, 2008, 8:17 PM EDT
Example) This is a test, 9/12/2008
Tokens returned:
This
is
a
test
9/12/2008 (Assumes you want to preserve date information)
If your data if more complex I would look around for a parser. There are many available and can be simple to very complex depending on your needs.
Good luck
Mike