Repeat a string: Difference between revisions

Content deleted Content added
Underscore (talk | contribs)
Added Perl 6.
→‎{{header|Clojure}}: add Clojure example
Line 1:
{{task|String manipulation}}Take a string and repeat it some number of times. Example: repeat("ha", 5) => "hahahahaha"
 
=={{header|Clojure}}==
<lang clojure>(apply str (apply concat (repeat 5 "ha")))</lang>
 
=={{header|E}}==