Repeat a string: Difference between revisions
Content added Content deleted
Puppydrum64 (talk | contribs) |
(add BQN) |
||
Line 421: | Line 421: | ||
Output sample: |
Output sample: |
||
<pre>hahahahaha</pre> |
<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}}== |
=={{header|Bracmat}}== |