>>3
That just prints objects as strings. OP wants format string functionality.
Name:
Anonymous2010-02-08 16:00
>>6
You're looking at a class very close to the root of all Java - Object - so you should not expect too much in the way of specifics. Look at some of the classes extending from Format, especially MessageFormat.
>>9
$ cat Test.java public class Test {
public static void main(String... args) throws Exception {
System.out.println(String.format("x%20dy\nx%-20dy", 1, 2));
}
}
$ javac Test.java && java Test
x 1y
x2 y
Name:
!iN.MY.aRMs2010-02-10 16:45
world best buisnes framework+language is: http://1c.ru/eng/title.htm
over 12x faster development than java
use it and save u money