{ if(s.Tirm()!=''') { Console.WriteLine(s); } //或者修改為 string[]split=str.Split(','.'!'); 6、插入和填充字符串 插入字符串:Insert()方法,用于在一個字符串的指定位置插入另外一個字符串,從而構(gòu)造一個新的字符串。格式:String.Insert(int,String);第一個參數(shù)為指定插入的位置。 填充字符串...
www.dbjr.com.cn/article/1031...htm 2025-5-31