Anonymous user
Repeat a string: Difference between revisions
→{{header|Ursala}}
(Adding MUMPS example) |
|||
Line 532:
output:
<pre>'hahahahaha'</pre>
=={{header|Visual Basic .NET}}==
There is a simple instruction do repeat a char or a string the specified number of times.
<lang vbnet>StrDup(5, "ha")
StrDup(5, "*")
</lang>
Those produces:
<pre>
hahahahaha
*****
</pre>
|