Repeat a string: Difference between revisions

Content added Content deleted
m (alphabetized powershell)
Line 608: Line 608:
There is a simple instruction do repeat a char or a string the specified number of times (must be greater than 0).
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")
<lang vbnet>String(5, "ha")
String(5, "*")</lang>
String(5, "*"C)</lang>
Those produces:
Those produces:
<pre>
<pre>