Gemma Ang
0
Q:

java string format with placeholder

String s = "hello %s!";
s = String.format(s, "world");
assertEquals(s, "hello world!"); // should be true
3

New to Communities?

Join the community