|
OK,
I've just run into somethng that I have not seen before, and not seen addressed
here. I'm hoping that someone here has come up with something
similar.
I'm
writing a program to interface with an OLD DOS type system. The interface
requires a series of import records of exactly 252 bytes in length. In this
record specific data items like, employee number, shift, date, etc., have
specific columns into which they must be placed and have specific
lengths.
What
I'd like to do is create a record of 252 bytes, then "substring" into those
locations the data for each employee and then write that record and do the same
for the next employee record. Unfortunately substring doesn't work this way and
I can't figure out how to make this happen. I suppose I could build this string
field by field, and may be reduced to doing that, but I thought there may be a
better way.
Anyone
have any ideas?
Sincerely,
Gene
Wolf
Business Systems Analyst DRS Optronics, Inc.
2330 Commerce Park Drive Palm Bay, Florida 32905 Phone: 321-309-0685 E-mail: [EMAIL PROTECTED]
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
with unsubscribe witango-talk in the message body
|
Title: Message
- Re: Witango-Talk: Help with Strings Wolf, Gene
- Re: Witango-Talk: Help with Strings Scott Cadillac
- Re: Witango-Talk: Help with Strings Stefan Gonick
- RE: Witango-Talk: Help with Strings Steve Smith
- RE: Witango-Talk: Help with Strings Hutch White
