Anonymous user
Repeat a string: Difference between revisions
→E: add E example
m (→{{header|Tcl}}: make clearer) |
(→E: add E example) |
||
Line 1:
{{task|String manipulation}}Take a string and repeat it some number of times. Example: repeat("ha", 5) => "hahahahaha"
=={{header|E}}==
<lang e>"ha" * 5</lang>
=={{header|Haskell}}==
|