I just am trying to figure out how to parse it correctly!
Any help is appreciated.
Sean, try this routine:
Hello, Gene.
Wednesday May 05 2010 at 10:41, you wrote to me:
Sean, try this routine:
Thanks, Gene, but is that straight Turbo Pascal? I didn't see a CharIPos or StrMid command anywhere in there.
Later,
Sean
//sean@nsbbs.info | http://nsbbs.info | ICQ: 19965647
... Money may buy friendship but money cannot buy love.
What I'm wanting to do is this: I want to start at the beginning of
the line and read each "block" that's delimited by spaces into a
string, so I can put the last name in one string, the first name in
one string, the graphics type in another string, the DCE rate in
another, so on and so forth. All data will be treated as strings
and this will be read from a text file, so it's pretty easy to get
the data in.
here's something i had laying around... the original used a ';' as a divider with #32 and #9... i just changed the ';' to ',' so it would
break out all of the comma delimited fields as well... it is the 3rd "str[i]" in each of the three while lines...
That came from a Delphi 7 project I worked on years ago. I've never tested it under TP, but even if it doesn't work right off, it's a good place to start. :)
here's something i had laying around... the original used a ';' as a divider with #32 and #9... i just changed the ';' to ',' so it would
break out all of the comma delimited fields as well... it is the 3rd "str[i]" in each of the three while lines...
(after tinkering with the code a bit)
here's something i had laying around... the original used a ';' as a divider with #32 and #9... i just changed the ';' to ',' so it would
break out all of the comma delimited fields as well... it is the 3rd "str[i]" in each of the three while lines...
I actually want to skip over that entire comma-delimited section.
I just am going to pull the first and last name, DCE rate, time
left and ANSI toggle for my needs.
I'll do a little more tinkering and thanks for the code; I think
I'll get it to do what I need it to do. :)
here's something i had laying around... the original used a ';' as a divider with #32 and #9... i just changed the ';' to ',' so it would
break out all of the comma delimited fields as well... it is the 3rd "str[i]" in each of the three while lines...
Now would this work with a single line to run through it?
GTUSER.BBS is a single line that's passed as a text file. I'll
give this a shot this weekend though. Thanks for the code!
Sysop: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,038 |
Nodes: | 15 (1 / 14) |
Uptime: | 28:02:51 |
Calls: | 865 |
Calls today: | 16 |
Files: | 95,180 |
D/L today: |
14,818 files (1,485M bytes) |
Messages: | 465,164 |
Posted today: | 1 |