Re: how to split a string using ,fixed character length, variable text delimmiter
- From: "Peter Bradley" <pbradley@xxxxxxxxxx>
- Date: Wed, 6 Dec 2006 13:11:24 -0000
How do *you* know it's a delimiter and not data?
In other words, if *I* were to look at the file, knowing nothing about it,
how could I tell what was a delimiter and what was data? How would you
explain to me what to look for?
When you can answer that, you can start thinking about how to pass that
information to a machine.
HTH
Peter
<garyusenet@xxxxxxxxx> wrote in message
news:1165409168.748251.240990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm working on a data file and can't find any common delimmiters in the
file to indicate the end of one row of data and the start of the next.
Rows are not on individual lines but run accross multiple lines.
It would appear though that every distinct set of data starts with a
'code' that is always the 25 characters long. The text is variable
however.
Assuming i've read the contents of the file into the string myfile, how
do i split my file into an array, using this variable text, fixed 25
character long, delimiter?
Thankyou!
Gary-
.
- Follow-Ups:
- References:
- Prev by Date: Re: how to split a string using ,fixed character length, variable text delimmiter
- Next by Date: Re: using a for loop to determine maximum value of an int variable
- Previous by thread: Re: how to split a string using ,fixed character length, variable text delimmiter
- Next by thread: Re: how to split a string using ,fixed character length, variable text delimmiter
- Index(es):
Relevant Pages
|