RosettaCodeData/Task/Repeat-a-string/Beef/repeat-a-string-1.beef

3 lines
53 B
Plaintext

String s = new String('X', 5);
s.Replace("X", "ha");