The problem has been solved. There is a wonderfull function in Tango.
--------------------------------------------
import tango.text.convert.Format;
class Foo {
// attributes go here...
public char[] toString() {
return Format.convert(".... {} .. {} ..", attr1, attr2, attr3);
}
}
--------------------------------------------
This works perfect with all data types.
