write empty spaces between fields of data, given that the length of those empty spaces would be say, (40 - length of field in data).
In VB it would have been like: Space(40 - field.length). What is the Space() counterpart in Java. Thanks
2007-04-26
21:03:02
·
1 answers
·
asked by
kenshin
3
in
Computers & Internet
➔ Programming & Design
testing123
2007-04-26
22:11:51 ·
update #1
Thanks for the answer(s).
I did this:
String spaces = " ";
spaces.substring(0,40-str.length));
//Assuming length of (40-str.length) wont exceed length of string spaces
2007-04-26
22:18:58 ·
update #2