东儿童
爱拼才会赢
摘要: /// <summary> /// C#截取不超出指定长度的中英文混合字符串 /// </summary> public string CutString(string s, int MaxLength) { char[] stringChar = s.ToCharArray(); System.Text.StringBuilder sB = new System.Text.StringBuilder(); System.Text.Encoding encoding = System.Text.Encoding.GetEncoding("gb2312" 阅读全文
posted @ 2011-07-11 10:53 哎!无悔 阅读(415) 评论(0) 推荐(0) 编辑