On Fri, Jan 29, 2016 at 04:58:48PM +0100, Emmanuel Bourg wrote: > Le 29/01/2016 16:44, Andreas Tille a écrit : > > > I wonder whether some Java programmer could provide some simple > > replacement. > > Sun did that for us 11 years ago in Java 5 ;) Try this replacement: > > s = String.format(fmtstr, o);
What do I need to import to access this? Sorry for the beginner question but Google points me to package com.javacodegeeks.core.string; which seems wrong ... Andreas. -- http://fam-tille.de