Repeat a string: Difference between revisions
Content added Content deleted
m (→{{header|Tcl}}: make clearer) |
(→E: add E example) |
||
Line 1: | Line 1: | ||
{{task|String manipulation}}Take a string and repeat it some number of times. Example: repeat("ha", 5) => "hahahahaha" |
{{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}}== |
=={{header|Haskell}}== |