Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Writing to a specified location in a file

ms raaghu
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ,
How to write the contents to a file in a particular position ..
example :- in a file from 0-15chars need to write the emp id and from 16-28 job description and so on..

in the above example from 0-15 its the emp id so if the emp id is of only 2 chars then the remaining chars should be
zero padded ..

please help me out in doing the same ...

It would be very much great full .

Thanks in advance
Joe Ess
Posts: 9362
Linux Mac OS X Windows
brevity is the soul of wit - shakepeare. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!