Repeat a string: Difference between revisions
Content added Content deleted
(→{{header|Java}}: code cleanup) |
No edit summary |
||
Line 1,606: | Line 1,606: | ||
=={{header|REBOL}}== |
=={{header|REBOL}}== |
||
<lang rebol>head insert/dup "" "ha" 5</lang> |
<lang rebol>head insert/dup "" "ha" 5</lang> |
||
=={{header|Red}}== |
|||
<land Red>>> str: "Add duplicates to string" |
|||
>> insert/dup str "ha" 3 |
|||
== "hahahaAdd duplicates to string" |
|||
>> insert/dup tail str "ha" 3 |
|||
== "hahahaAdd duplicates to stringhahaha"</lang> |
|||
=={{header|Retro}}== |
=={{header|Retro}}== |