How do I format my string in GWT?
I made a method
Formatter format = new Formatter(); int matches = 0; Formatter formattedString = format.forma
Maybe the easiest way to do something like String.format, can be do it with a String.replace, for instance;
instead of do String.format("Hello %s", "Daniel"); ==> "Hello %s".replace("%s", "Daniel"),
String.format("Hello %s", "Daniel");
"Hello %s".replace("%s", "Daniel")
both give us the same result, but just the second way works in GWT client side