public static string Str4Split(String str)
{
String oper = "";

if (!String.IsNullOrEmpty(str) && str.StartsWith("-"))
{
str = str.Remove(0, 1);
oper = "-";
}

str=System.Text.RegularExpressions.Regex.Replace(str, @"(\d{4})", ",$1", System.Text.RegularExpressions.RegexOptions.RightToLeft).Trim(',');

return oper + str;


}

相关文章:

  • 2021-12-18
  • 2022-01-04
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2022-12-23
  • 2021-06-07
  • 2022-12-23
相关资源
相似解决方案