C#
protected int GetLength(string strValue) { byte[] myByte = System.Text.Encoding.Default.GetBytes(strValue); return myByte.Length; }
posted on 2008-11-27 12:36 小小小程序员 阅读(1914) 评论(0) 收藏 举报
刷新页面返回顶部
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。