Repeat a string: Difference between revisions

Line 534:
 
=={{header|Visual Basic .NET}}==
 
There is a simple instruction do repeat a char or a string the specified number of times (must be greater than 0).
 
<lang vbnet>String(5, "ha")
String(5, "*")</lang>
</lang>
Those produces:
<pre>
hahahahaha
*****</pre>
</pre>
Anonymous user