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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice