-
"Simple" Text Parsing Problem
I am trying to find the simplest way to parse a text file. The parameters of the file are driving me nuts, however.
1. The file is split into pages, delimited by "======================"
2. There are 9 separate columns
3. All of the data for each column is listed, then the next, then so on
4. There can be up to 14 "records" per page, however the last page can have less.
If I could reformat into, say, CSV format, this would be of great assistance. Or, a conversion to any type of data structure would get me somewhere.
-
If you know what delimits columns and how the data is "listed" and what defines start
& stop of a "record" then this should be a walk in the park, if this info is scrambled in
some way then its bad news.
Post a couple of pages and I'll have a go at it.
eschew obfuscation
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks