1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Split Flat file using Java

Discussion in 'Java' started by pkurlawala, Jun 29, 2012.

  1. pkurlawala

    pkurlawala New Member

    Joined:
    Jun 29, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi Folks,
    I am fairly new to java and need some help.
    I have a flat file(.txt) with 5 columns and lets say 9750 rows which are pipe delimited. I need to split this file into separate files each of 2000 rows (5 files). Can someone please help me in getting the java code for this.
     

Share This Page