Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

splitting files urgent....  RSS feed

 
denish
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hiee..
i have a database of some 4000 lines i would like to split them into diffrent files according to there first six charcters and store them to a seperate file..for example...
abcdef
abcdef
.........let this be of 100 lines ..
bdefgh
bdefgh
...of 300 lines
i should split the files according to starting 6 lines...hope i could get the replay soon ..thank for the replay
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
denish-
Welcome to the JavaRanch! Please adjust your displayed name to meet the JavaRanch Naming Policy. You can do so here.
Thanks! and again, Welcome to the Ranch!
 
Dirk Schreckmann
Sheriff
Posts: 7023
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!