摘要:
/// <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" 阅读全文