lundi 13 juillet 2015

read text file then select data and create new text file from select data

i have a text file with name text.txt :

09102306614,2,104 09106148895,2,104 09102567410,3,104 ,...

09122586173,2,104 09126413664,2,104 09125554671,3,104

,...

i want read text1.txt with j2ee (java) and create text1.txt from first column data where foure character of first number like with together for sample, text1.txt included : 0910******* 0910******* 0910******* ,...

and text2.txt included : 0912******* 0912******* 0912******* ,...

thank you

Aucun commentaire:

Enregistrer un commentaire