Dear All,
While running the existing code (Below given) I am getting output
Output
Test.txt
00000029, Pistler, Richard
00000034 ,Townley ,Gary
But I want the desired output in the test.txt file like
Output
Test.txt
00000029 Pistler Richard
00000034 Townley Gary
That means pernr _WIDTH is 10 char. For example If it retrives 8 chars from database then
00000034 with two spaces. Similarly laname if it retrives 7 chars from the database then
Pistler with 8 spaces.
Please suggest me how can I handle it from
java level.
Please suggest me if there is any function behaving like this.
private static final int pernr _WIDTH = 10;
private static final int laname _WIDTH = 15;
private static final int fname _WIDTH = 15;
Thanks a lot in advance.
Regards,
Sumanta Panda