Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hi, I need help parsing a text f 1

Status
Not open for further replies.

HenryAnthony

Technical User
Feb 14, 2001
358
US
Hi,

I need help parsing a text file into records. How do I get the phone number to be the last field in a record? Any ideas are greatly appreciated. Thanks in advance for helping.

Name
Address 1
Address 2
(555) 555-5555
Name
Address 1
Address 2
(555) 555-5555

Best regards,

Henr¥


 
Have a look on my website for a file called importtextfiles.zip
It's got a class for reading in text files a line at a time, as well as ways on parsing the text into relevant fields.
If you need any more help, just ask

Ben ----------------------------------------
Ben O'Hara
----------------------------------------
 
Ben,

OK, found it and thanks. This is some code! I'll try to puzzle out how to get it to work. I'm sure questions will follow. Thanks for sharing your hard work.

Best regards,

Henr¥
 
Ben,

How about a hint as to where to fire this code from. Thanks.

Best regards,

Henr¥
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top