string s = "181936"; s = string.Join(" ", System.Text.RegularExpressions.Regex.Split(s, "(?<=\\G.{2})(?!$)"));
string s = "abcdefgh123456"; string r = Regex.Replace(s, @"(?<=.{2}).{2}", " $0"); Console.Write(r);
111,055
社区成员
642,602
社区内容
加载中
让您成为最强悍的C#开发者
试试用AI创作助手写篇文章吧