Anonymous user
Repeat a string: Difference between revisions
→{{header|Java}}: no functions in Java
(→{{header|Java}}: no functions in Java) |
|||
Line 458:
{{works with|Java|1.5+}}
There's no
<lang java5>public static String repeat(String str, int times){
StringBuilder ret = new StringBuilder();
|