Repeat a string: Difference between revisions

Content added Content deleted
m (→‎{{header|VBA}}: a correction)
m (→‎{{header|VBA}}: To fit task)
Line 2,156:
End Function
 
printDebug.Print RepeatSTrRepeatStr( "Hello world!ha", 35)</lang>
{{out}}
<pre>
hahahahaha
Hello world!Hello world!Hello world!
</pre>
''Note:'' "String(5, "ha") in VBA produces "hhhhh" (only the first character is repeated)!