how to split a file
i am new to java language,i want to read a text file and split that file and store it in database.
Our records indicate that you have never posted to our site before! Why
this is the text file i want to read using
FileInputStream fstream = new FileInputStream("test.txt");
// Get the object of DataInputStream
DataInputStream in = new DataInputStream(fstream);
BufferedReader br = new BufferedReader(new InputStreamReader(in));
like this i wnat to split this raju.txt is like
2)indicate -8 characters
like taht ,please freinds any body give idea to split the file according to my requirement.
thanks in advance