static void Main(string[] args)
        {
            string ExecuteDesc = "所要插入的字符串";
            int count = ExecuteDesc.Length / 20;
            for (int j = 1; j <= count; j++)
            {
                ExecuteDesc = j == 1 ? ExecuteDesc.Insert(j * 20, "<br/>") : ExecuteDesc.Insert(j * 20 + (j - 1) * 5, "<br/>");
            }
        }

 

相关文章:

  • 2022-01-04
  • 2022-12-23
  • 2021-07-12
  • 2022-12-23
  • 2021-09-13
  • 2021-05-26
  • 2021-11-17
  • 2021-11-16
猜你喜欢
  • 2022-02-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案