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/>");
            }
        }

 

posted on 2013-11-26 00:17  莫等闲也  阅读(666)  评论(0编辑  收藏  举报