2008年11月27日

转 .net里如何判断中文字符长度

摘要: C#protected int GetLength(string strValue) { byte[] myByte = System.Text.Encoding.Default.GetBytes(strValue); return myByte.Length; } 阅读全文

posted @ 2008-11-27 12:36 小小小程序员 阅读(1899) 评论(0) 推荐(0) 编辑

导航