RosettaCodeData/Task/Repeat-a-string/Rust/repeat-a-string-2.rust
2017-09-25 22:28:19 +02:00

1 line
36 B
Text

"ha".repeat(5); // ==> "hahahahaha"