public static string ReplacePartOfString(string source, int position, int length, string replace) { return source.Substring(0, position) + replace + source.Substring(position + length); }