RosettaCodeData/Task/Repeat-a-string/F-Sharp/repeat-a-string-1.fs

3 lines
59 B
Forth

> String.replicate 5 "ha";;
val it : string = "hahahahaha"