Repeat a string: Difference between revisions
add BQN
Puppydrum64 (talk | contribs) |
(add BQN) |
||
Line 421:
Output sample:
<pre>hahahahaha</pre>
=={{header|BQN}}==
<code>⥊</code>(reshape) can all by itself be used to repeat a string to a particular length. This function is just a wrapper around it to repeat n times.
<lang bqn>Repeat ← ×⟜≠ ⥊ ⊢
•Show 5 Repeat "Hello"</lang><lang>"HelloHelloHelloHelloHello"</lang>
=={{header|Bracmat}}==
|