(do ((i 0 (+ i 1 )))( (= i n) s)
(setf s (concatenate 'string s v)))
use Ada.Strings.Fixed;
S : constant String := N * V;
(def s (clojure.string/join "" (repeat n v)))
(def s (apply str (repeat n v)))
s.reserve(v.size() * n);
for (size_t i = 0; i < n; ++i)
s.append(v);
var s = string.Concat(Enumerable.Repeat(v, n));
string s = string.Create(v.Length * n, (v, n), static (span, state) =>
{
var (v, n) = state;
var originSpan = v.AsSpan();
for (var i = 0; i < n; i++)
{
var subSpan = span[(i * originSpan.Length)..];
originSpan.CopyTo(subSpan);
}
});
var sb = new StringBuilder();
for(var i = 0; i < n; i++)
sb.Append(v);
var s = sb.ToString();
s = String.duplicate(v, n)
S = lists:concat(lists:duplicate(N, V)).
character(len=:), allocatable :: s,v
integer :: n
s = repeat(v,20)
write (*,'(A)') s
s := strings.Repeat(v, n)
fmt.Println(s)
s = concat $ replicate n v
for (int i=0;i<n;i++){
s = s+v;
}
System.out.println(s);
String s = v.repeat(n);
System.out.println(s);
String s = generate(() -> v)
.limit(n)
.collect(joining());
val s = v.repeat(n)
println(s)
$s = str_repeat($v, $n);
echo $s;
s := DupeString(v, n);
writeln(s);
s:= '';
for i := 1 to n do s := s + v;
writeln(s);