fork(1) download
  1. using System;
  2. using System.Globalization;
  3. using System.Linq;
  4. using System.Collections.Generic;
  5.  
  6. public class Test
  7. {
  8.  
  9.  
  10. public static void Main()
  11. {
  12. string input = ":1Af404080A83hfndsgt4u47";
  13. string replace = "Hello123";
  14. int start = 5;
  15. string result = "";
  16. if (input.Length >= start)
  17. {
  18. result = input.Substring(0, start) + replace + input.Substring(start + replace.Length);
  19. Console.Write(result);
  20. }
  21. }
  22. }
Success #stdin #stdout 0.02s 33856KB
stdin
Standard input is empty
stdout
:1Af4Hello123hfndsgt4u47