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

    Jun 29, 2012
    Likes Received:
    Trophy Points:
    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