Re: how to split a string using ,fixed character length, variable text delimmiter
- From: "Chris Dunaway" <dunawayc@xxxxxxxxx>
- Date: 6 Dec 2006 09:04:20 -0800
garyusenet@xxxxxxxxx wrote:
Hi it's used in a custom written programme where I work which is dos
based.
The developers have long since dissapeared.
I'd really like to know how to achieve this in code if possible,
That's why I suggested posting a few "records" from this file so we
could see it and maybe help determine its format. Does the file start
with this data immediately or is there any header data in the beginning
of the file?
There does seem to be some identifiable traits of this code.
It appears to be always at least 20 characters long.
- The code is continuous there are no spaces present.
- It is always composed of letters ranging from A-Z, or numbers 0-9.
- The first two characters of this code are always letters raning from
A-Z.
- These two letters are repeated at least two other times during the
code.
e.g.
DODE86DODE86SZDO010144
So I guess what I am trying to do now is split the string, every time a
a string in encountered that is at least 20 characters long, is alpha
numeric, and has the first two letters repeated initself at least two
other times.
Who created this file? Are there no documentation which describes its
format? Can you post a sample of the data that shows at least 2
complete "records" or items? Is there anything in the file, perhaps a
header of some sort, that can shed any light on the format?
Chris
.
- References:
- how to split a string using ,fixed character length, variable text delimmiter
- From: garyusenet
- Re: how to split a string using ,fixed character length, variable text delimmiter
- From: Peter Bradley
- Re: how to split a string using ,fixed character length, variable text delimmiter
- From: garyusenet
- Re: how to split a string using ,fixed character length, variable text delimmiter
- From: garyusenet
- Re: how to split a string using ,fixed character length, variable text delimmiter
- From: Chris Dunaway
- Re: how to split a string using ,fixed character length, variable text delimmiter
- From: garyusenet
- how to split a string using ,fixed character length, variable text delimmiter
- Prev by Date: Columnas en DataGrid
- Next by Date: Re: how to split a string using ,fixed character length, variable text delimmiter
- 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
|