hi
i want read text file and write in such way that each word in the separated by 2Spaces if they are separated by more than 2Spaces keep those 2space as it is and filled remaining space with xxxxxxxx
plz suggest to how go to this problem and give some code in java

hi
i want read text file and write in such way that each word in the separated by 2Spaces if they are separated by more than 2Spaces keep those 2space as it is and filled remaining space with xxxxxxxx
plz suggest to how go to this problem and give some code in java

Hi,

I can suggest you a way , check for space which is unicode character \u0020 and if it occurs more than that then replace as you want.

Thanks
Javin