On 22 Dec 2006, at 14:46, Julien Anguenot wrote:
cedric MARFIL wrote:
Hello,
I would like to know if, during your java migration, you found a
way to reproduce the percent notation to
build strings like it was possible in python ?
Like:
a = "Hello %s"%("Cedric")
Java5 provides a way to do something similar :
http://java.sun.com/j2se/1.5.0/docs/api/java/util/Formatter.html
But we obviously didn't leverage this that much ...
Note that in most cases, it's faster and simpler to just do string
concatenation.
Florent
--
Florent Guillaume, Director of R&D, Nuxeo
Open Source Enterprise Content Management (ECM)
http://www.nuxeo.com http://www.nuxeo.org +33 1 40 33 79 87
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm