hai guys,

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

1)ourrecords -10(characters)
2)indicate -8 characters
3)taht-4 characters

like taht ,please freinds any body give idea to split the file according to my requirement.

thanks in advance